From: Priyank Maheshwari Date: Thu, 25 Jul 2024 09:34:12 +0000 (+0000) Subject: Merge "Fix "Create a node" and "Add List Elements" APIs response code" X-Git-Tag: 3.4.10~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2d7d0def47864858d1fb3c2856f9b18d98df9377;p=cps.git Merge "Fix "Create a node" and "Add List Elements" APIs response code" Issue-ID: CPS-2319 Change-Id: Ie1e28d770a227f31b5a2a640d7c49cd02c1bc498 Signed-off-by: Arpit Singh --- diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml index c1b111bfab..6e04246efe 100644 --- a/cps-rest/docs/openapi/components.yml +++ b/cps-rest/docs/openapi/components.yml @@ -374,7 +374,7 @@ components: Created: description: Created content: - text/plain: + application/json: schema: type: string example: my-resource diff --git a/cps-rest/docs/openapi/cpsData.yml b/cps-rest/docs/openapi/cpsData.yml index b9d2e5940e..31003f3a88 100644 --- a/cps-rest/docs/openapi/cpsData.yml +++ b/cps-rest/docs/openapi/cpsData.yml @@ -112,7 +112,6 @@ nodesByDataspaceAndAnchor: examples: dataSample: $ref: 'components.yml#/components/examples/dataSampleXml' - responses: '201': $ref: 'components.yml#/components/responses/Created'