Fix typo in ACM swagger
Added code error 406 for POST, and fix typo
Issue-ID: POLICY-4430
Change-Id: I8328830d87cdc98a8b6caa222c062a90583d2912
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
diff --git a/runtime-acm/src/main/resources/openapi/openapi.yaml b/runtime-acm/src/main/resources/openapi/openapi.yaml
index 5075ee5..dfa8ec6 100644
--- a/runtime-acm/src/main/resources/openapi/openapi.yaml
+++ b/runtime-acm/src/main/resources/openapi/openapi.yaml
@@ -231,6 +231,9 @@
404:
description: Not Found
content: {}
+ 406:
+ description: Specified automation composition definition is not acceptable. See the content for error messages.
+ content: {}
500:
description: Internal Server Error
headers:
@@ -790,6 +793,9 @@
404:
description: The specified automation composition definition was not found
content: {}
+ 406:
+ description: Specified automation composition instance definition is not acceptable. See the content for error messages.
+ content: {}
500:
description: Internal Server Error
headers:
@@ -922,7 +928,7 @@
tags:
- Automation Composition Controller
summary: Update an automation composition instance
- description: THis request updates an automation composition instance. It may update instance properties or change the state of the automation composition instance
+ description: This request updates an automation composition instance. It may update instance properties or change the state of the automation composition instance
operationId: updateCompositionInstance
parameters:
- name : compositionId