Core logic to update,add or remove cmHandle properties
[cps.git] / cps-ncmp-rest / docs / openapi / components.yaml
index 021a790..cda6ca3 100644 (file)
@@ -50,6 +50,16 @@ components:
             $ref: '#/components/schemas/RestCmHandle'
         updatedCmHandles:
           type: array
+          example:
+            cmHandle: my-cm-handle
+            cmHandleProperties:
+              add-my-property: add-property
+              update-my-property: updated-property
+              delete-my-property: '~'
+            publicCmHandleProperties:
+              add-my-property: add-property
+              update-my-property: updated-property
+              delete-my-property: '~'
           items:
             $ref: '#/components/schemas/RestCmHandle'
         removedCmHandles:
@@ -382,3 +392,13 @@ components:
     NoContent:
       description: No Content
       content: {}
+    InternalServerError:
+      description: Internal Server Error
+      content:
+        application/json:
+          schema:
+            $ref: "#/components/schemas/ErrorMessage"
+          example:
+            status: 500
+            message: Internal Server Error
+            details: Internal Server Error occurred