Merge "Fix "Create a node" and "Add List Elements" APIs response code" 45/138545/5
authorPriyank Maheshwari <priyank.maheshwari@est.tech>
Thu, 25 Jul 2024 09:34:12 +0000 (09:34 +0000)
committerArpit Singh <as00745003@techmahindra.com>
Fri, 26 Jul 2024 15:09:36 +0000 (15:09 +0000)
Issue-ID: CPS-2319
Change-Id: Ie1e28d770a227f31b5a2a640d7c49cd02c1bc498
Signed-off-by: Arpit Singh <as00745003@techmahindra.com>
cps-rest/docs/openapi/components.yml
cps-rest/docs/openapi/cpsData.yml

index c1b111b..6e04246 100644 (file)
@@ -374,7 +374,7 @@ components:
     Created:
       description: Created
       content:
-        text/plain:
+        application/json:
           schema:
             type: string
             example: my-resource
index b9d2e59..31003f3 100644 (file)
@@ -112,7 +112,6 @@ nodesByDataspaceAndAnchor:
           examples:
             dataSample:
               $ref: 'components.yml#/components/examples/dataSampleXml'
-
     responses:
       '201':
         $ref: 'components.yml#/components/responses/Created'