summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2024-07-25 09:34:12 +0000
committerGerrit Code Review <gerrit@onap.org>2024-07-25 09:34:12 +0000
commitd3c3d49849ce81b82ec1e5c40b885ee08c368b09 (patch)
tree071a143d6614169281c9b25c7a8eaf79572dfa40
parent1fe47f7b1cd2b53a81a3478cd492f91fd36ebe1b (diff)
parent44bca362f17223661abe4fddb6003b097db78879 (diff)
Merge "Fix "Create a node" and "Add List Elements" APIs response code"
-rw-r--r--cps-rest/docs/openapi/components.yml2
-rw-r--r--cps-rest/docs/openapi/cpsData.yml1
2 files changed, 1 insertions, 2 deletions
diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml
index 99502e3083..a2587eb56d 100644
--- a/cps-rest/docs/openapi/components.yml
+++ b/cps-rest/docs/openapi/components.yml
@@ -376,7 +376,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 80d07c806b..1e70ef60c8 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'