Update openapi.yaml swagger with new status codes 33/134833/1
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Fri, 9 Jun 2023 12:38:46 +0000 (13:38 +0100)
committerRamesh Murugan Iyer <ramesh.murugan.iyer@est.tech>
Tue, 13 Jun 2023 08:02:09 +0000 (08:02 +0000)
commitd25a6d199dc55ee9cc59b8c9b76e74f1a61ef6b6
tree0127317db2809185daaf685f1bda2d061bdbbca0
parent86f85dafe9e3d7f4c0c9cb29a4bd041775ce5a50
Update openapi.yaml swagger with new status codes

Changing the response code of delete operation from 200 to 202 as it
requires to be delegated to the participants.

Adding 500 server error code for all the REST responses.

Issue-ID: POLICY-4729
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I92c17b253071c3fe4014f475d681bc99df4a9402
(cherry picked from commit 478775d9a56f09ae6d4103b09f127aa6ae150f46)
runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/rest/InstantiationController.java
runtime-acm/src/main/resources/openapi/openapi.yaml
runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/rest/InstantiationControllerTest.java