Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test GET /, server info. #308

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion spec/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,6 @@ components:
type: string
required:
- build_date
- build_flavor
- build_hash
- build_snapshot
- build_type
Expand Down
2 changes: 1 addition & 1 deletion tests/index_lifecycle.yaml → tests/index.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: ../json_schemas/test_story.schema.yaml

skip: false
description: This story tests all endpoints relevant the lifecycle of an index, from creation to deletion.
description: Test endpoints relevant the lifecycle of an index, from creation to deletion.
epilogues:
- path: /books
method: DELETE
Expand Down
18 changes: 18 additions & 0 deletions tests/info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

$schema: ../json_schemas/test_story.schema.yaml

skip: false
description: Test root endpoint.
chapters:
- synopsis: Get server info.
path: /
method: GET
response:
status: 200
- synopsis: Get server info (pretty=false).
path: /
method: GET
parameters:
pretty: false
response:
status: 200
Loading