Fix typo in ACM swagger 94/132094/2
authorlapentafd <francesco.lapenta@est.tech>
Wed, 9 Nov 2022 11:05:52 +0000 (11:05 +0000)
committerlapentafd <francesco.lapenta@est.tech>
Wed, 9 Nov 2022 12:32:45 +0000 (12:32 +0000)
Added code error 406 for POST, and fix typo

Issue-ID: POLICY-4430
Change-Id: I8328830d87cdc98a8b6caa222c062a90583d2912
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
runtime-acm/src/main/resources/openapi/openapi.yaml

index 5075ee5..dfa8ec6 100644 (file)
@@ -231,6 +231,9 @@ paths:
         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 @@ paths:
         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 @@ paths:
       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