Merge "Updated cmhandle registration openapi documentation"
authorToine Siebelink <toine.siebelink@est.tech>
Fri, 11 Mar 2022 17:39:03 +0000 (17:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 11 Mar 2022 17:39:03 +0000 (17:39 +0000)
cps-ncmp-rest/docs/openapi/components.yaml

index d82813b..6477e34 100644 (file)
@@ -53,23 +53,23 @@ components:
             $ref: '#/components/schemas/RestInputCmHandle'
         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/RestInputCmHandle'
+            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: '~'
         removedCmHandles:
           type: array
           items:
             type: string
-            example: [my-cm-handle1, my-cm-handle2, my-cm-handle3]
+          example: [my-cm-handle1, my-cm-handle2, my-cm-handle3]
 
     RestInputCmHandle:
       required: