diff options
author | 2021-12-03 10:14:19 +0000 | |
---|---|---|
committer | 2021-12-03 10:14:19 +0000 | |
commit | 7c483c72e3643abb0d425f0092c15310c5359276 (patch) | |
tree | f23d3f3660d6c724604a40087e56149c5aa98db6 /cps-rest/docs/openapi/cpsQuery.yml | |
parent | 4314e7b8ffc0641b0907cf18ca57d329c11f87ed (diff) | |
parent | 5d8b24107ad579db89bcdad63476143f4a2db755 (diff) |
Merge "Adding examples in openapi for cps-core"
Diffstat (limited to 'cps-rest/docs/openapi/cpsQuery.yml')
-rw-r--r-- | cps-rest/docs/openapi/cpsQuery.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cps-rest/docs/openapi/cpsQuery.yml b/cps-rest/docs/openapi/cpsQuery.yml index f45f3f41a..4f938aa89 100644 --- a/cps-rest/docs/openapi/cpsQuery.yml +++ b/cps-rest/docs/openapi/cpsQuery.yml @@ -30,7 +30,14 @@ nodesByDataspaceAndAnchorAndCpsPath: - $ref: 'components.yml#/components/parameters/includeDescendantsOptionInQuery' responses: '200': - $ref: 'components.yml#/components/responses/Ok' + description: OK + content: + application/json: + schema: + type: object + examples: + dataSampleResponse: + $ref: 'components.yml#/components/examples/dataSampleResponse' '400': $ref: 'components.yml#/components/responses/BadRequest' '401': |