diff --git a/spec/schemas/_common.yaml b/spec/schemas/_common.yaml index 375e47802..47de285c2 100644 --- a/spec/schemas/_common.yaml +++ b/spec/schemas/_common.yaml @@ -1810,7 +1810,6 @@ components: type: string required: - build_date - - build_flavor - build_hash - build_snapshot - build_type diff --git a/tests/index_lifecycle.yaml b/tests/index.yaml similarity index 93% rename from tests/index_lifecycle.yaml rename to tests/index.yaml index 4e5bd943d..a2e955ad6 100644 --- a/tests/index_lifecycle.yaml +++ b/tests/index.yaml @@ -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 diff --git a/tests/info.yaml b/tests/info.yaml new file mode 100644 index 000000000..367ce3cd9 --- /dev/null +++ b/tests/info.yaml @@ -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