From 41fcf3575405c3172be8f5912b9e691a5b2804a3 Mon Sep 17 00:00:00 2001 From: lapentafd Date: Wed, 9 Nov 2022 11:05:52 +0000 Subject: 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 --- runtime-acm/src/main/resources/openapi/openapi.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'runtime-acm/src/main') diff --git a/runtime-acm/src/main/resources/openapi/openapi.yaml b/runtime-acm/src/main/resources/openapi/openapi.yaml index 5075ee5e6..dfa8ec6d1 100644 --- a/runtime-acm/src/main/resources/openapi/openapi.yaml +++ b/runtime-acm/src/main/resources/openapi/openapi.yaml @@ -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 -- cgit 1.2.3-korg