Skip to content

Commit

Permalink
Test GET /, server info.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Jun 3, 2024
1 parent f486e8b commit 9eaf6be
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
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

0 comments on commit 9eaf6be

Please sign in to comment.