summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2024-07-25 09:34:12 +0000
committerArpit Singh <as00745003@techmahindra.com>2024-07-26 15:09:36 +0000
commit2d7d0def47864858d1fb3c2856f9b18d98df9377 (patch)
tree2c67f0af3d3e2234dfd1276de494d669761587da
parent6f79d8d011bc2547411bd19e0ea73eda9430e649 (diff)
Merge "Fix "Create a node" and "Add List Elements" APIs response code"
Issue-ID: CPS-2319 Change-Id: Ie1e28d770a227f31b5a2a640d7c49cd02c1bc498 Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
-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 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'