X-Git-Url: https://gerrit.onap.org/r/gitweb?p=cps.git;a=blobdiff_plain;f=cps-ncmp-rest%2Fdocs%2Fopenapi%2Fcomponents.yaml;h=7ed2efe52a646dadc1a36d613112991d70cb1559;hp=a7955c19f967182bbfc1b01cd42043c21f24dda9;hb=952603c5739d3bec19c45f12adb01ee9e63e9337;hpb=006c7dca01d6d04ce122eadc06707a5b0b70d76c diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index a7955c19f..7ed2efe52 100644 --- a/cps-ncmp-rest/docs/openapi/components.yaml +++ b/cps-ncmp-rest/docs/openapi/components.yaml @@ -94,35 +94,14 @@ components: type: array items: $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' - example: [ - { - "cmHandle": "my-cm-handle-01", - "errorCode": "01", - "errorText": "cm-handle already exists" - } - ] failedUpdatedCmHandles: type: array items: $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' - example: [ - { - "cmHandle": "my-cm-handle-02", - "errorCode": "02", - "errorText": "cm-handle does not exist" - } - ] failedRemovedCmHandles: type: array items: $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' - example: [ - { - "cmHandle": "my-cm-handle-02", - "errorCode": "02", - "errorText": "cm-handle does not exist" - } - ] CmHandlerRegistrationErrorResponse: type: object properties: @@ -131,10 +110,10 @@ components: example: my-cm-handle errorCode: type: string - example: '01' + example: '00' errorText: type: string - example: 'cm-handle already exists' + example: 'Unknown error. ' RestInputCmHandle: required: