diff options
author | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-07-25 09:34:12 +0000 |
---|---|---|
committer | Arpit Singh <as00745003@techmahindra.com> | 2024-07-26 15:09:36 +0000 |
commit | 2d7d0def47864858d1fb3c2856f9b18d98df9377 (patch) | |
tree | 2c67f0af3d3e2234dfd1276de494d669761587da /cps-rest/docs/openapi | |
parent | 6f79d8d011bc2547411bd19e0ea73eda9430e649 (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>
Diffstat (limited to 'cps-rest/docs/openapi')
-rw-r--r-- | cps-rest/docs/openapi/components.yml | 2 | ||||
-rw-r--r-- | cps-rest/docs/openapi/cpsData.yml | 1 |
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' |