aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest/docs/openapi/ncmp-inventory.yml
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2022-03-28 10:22:41 -0400
committerRenu Kumari <renu.kumari@bell.ca>2022-04-01 11:55:06 +0000
commitb14f04b6bd92b4dd6e3ed511ef5334db02e0b1ea (patch)
treea0f999eef091127521903f307511473186bd6841 /cps-ncmp-rest/docs/openapi/ncmp-inventory.yml
parent73f01b7f9141ddaf6ad4ed69599b2a454e4766fe (diff)
Update CM-Handle registration response
- update openapi.yml with new response structure - send only details of failed cm-handle operations - updated csit to validate 200 status Issue-ID: CPS-896 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3b868bcc5b8ff488c31faef51edc82c771452234
Diffstat (limited to 'cps-ncmp-rest/docs/openapi/ncmp-inventory.yml')
-rwxr-xr-xcps-ncmp-rest/docs/openapi/ncmp-inventory.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/cps-ncmp-rest/docs/openapi/ncmp-inventory.yml b/cps-ncmp-rest/docs/openapi/ncmp-inventory.yml
index 3cd8e8baf..5e61d0962 100755
--- a/cps-ncmp-rest/docs/openapi/ncmp-inventory.yml
+++ b/cps-ncmp-rest/docs/openapi/ncmp-inventory.yml
@@ -31,7 +31,7 @@ updateDmiRegistration:
schema:
$ref: 'components.yaml#/components/schemas/RestDmiPluginRegistration'
responses:
- 204:
+ 200:
$ref: 'components.yaml#/components/responses/NoContent'
400:
$ref: 'components.yaml#/components/responses/BadRequest'
@@ -40,4 +40,7 @@ updateDmiRegistration:
403:
$ref: 'components.yaml#/components/responses/Forbidden'
500:
- $ref: 'components.yaml#/components/responses/InternalServerError'
+ content:
+ application/json:
+ schema:
+ $ref: 'components.yaml#/components/schemas/DmiPluginRegistrationErrorResponse'