summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2022-01-28 16:33:56 +0530
committerRenu Kumari <renu.kumari@bell.ca>2022-02-16 13:31:29 +0000
commita15c0e5b58f16c3ab4a7c7610ac8c4a191e5e051 (patch)
treee71d9c9f2c4570e645c96a69212146276792e49d /cps-ncmp-rest
parent4e1d5e0a179857bfe14296ae1153b2c1173278c8 (diff)
Core logic to update,add or remove cmHandle properties
Issue-ID: CPS-837 Change-Id: Ia078b6a0291ae916931259a309dd592b0554da28 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-rest')
-rw-r--r--cps-ncmp-rest/docs/openapi/components.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml
index 22453f367b..cda6ca3ac5 100644
--- a/cps-ncmp-rest/docs/openapi/components.yaml
+++ b/cps-ncmp-rest/docs/openapi/components.yaml
@@ -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: