X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-rest%2Fsrc%2Fmain%2Fresources%2Fstatic%2FcpsData.yml;fp=cps-rest%2Fdocs%2Fopenapi%2FcpsData.yml;h=7e9f71d62b771ba2cf9c17793661a4c08a21d4d7;hb=2472e61ecf2f5ebf9c5e3ddcf9c2b66ab0d4219e;hp=fb21f757a0b012d1fa3f4de375068b294b2ab7ee;hpb=b81d0407c3f3356057bd1a8d66aadc42270becfe;p=cps.git diff --git a/cps-rest/docs/openapi/cpsData.yml b/cps-rest/src/main/resources/static/cpsData.yml similarity index 96% rename from cps-rest/docs/openapi/cpsData.yml rename to cps-rest/src/main/resources/static/cpsData.yml index fb21f757a..7e9f71d62 100644 --- a/cps-rest/docs/openapi/cpsData.yml +++ b/cps-rest/src/main/resources/static/cpsData.yml @@ -28,7 +28,12 @@ nodeByDataspaceAndAnchor: - $ref: 'components.yml#/components/parameters/includeDescendantsOptionInQuery' responses: '200': - $ref: 'components.yml#/components/responses/Ok' + description: OK + content: + application/json: + schema: + type: object + example: { "child": my_child,"leafList": "leafListElement1, leafListElement2", "leaf": my_leaf } '400': $ref: 'components.yml#/components/responses/BadRequest' '401':