From: Lott, Christopher (cl778h) Date: Tue, 9 Jun 2020 12:05:53 +0000 (-0400) Subject: Add return types to OpenAPI spec GET methods X-Git-Tag: 1.0.7~2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=9945133851dad8f533adcc331b33aca451b0decc;p=it%2Fdev.git Add return types to OpenAPI spec GET methods Define response type of Object so GET methods can return values. TODO: define schema for charts and values. Signed-off-by: Lott, Christopher (cl778h) Change-Id: Idb080fdff72a5ac09f54515b4cec833c988486d3 --- diff --git a/xapp_onboarder/xapp_onboarder/xapp-onboarder-api.yaml b/xapp_onboarder/xapp_onboarder/xapp-onboarder-api.yaml index 2774976..28b48f9 100644 --- a/xapp_onboarder/xapp_onboarder/xapp-onboarder-api.yaml +++ b/xapp_onboarder/xapp_onboarder/xapp-onboarder-api.yaml @@ -37,7 +37,10 @@ paths: responses: 200: description: Get helm chart list OK - content: {} + content: + application/json: + schema: + type: object 500: description: Get helm chart list failed content: @@ -60,7 +63,10 @@ paths: responses: 200: description: Get helm chart OK - content: {} + content: + application/json: + schema: + type: object 500: description: Get helm chart failed content: @@ -88,7 +94,10 @@ paths: responses: 200: description: Get helm chart package OK - content: {} + content: + application/json: + schema: + type: object 500: description: Get helm chart package failed content: @@ -117,7 +126,10 @@ paths: responses: 200: description: Get helm chart values.yaml OK - content: {} + content: + application/json: + schema: + type: object 500: description: Get helm chart values.yaml failed content: @@ -276,7 +288,13 @@ components: responses: MaskError: description: When any error occurs on mask - content: {} + content: + application/json: + schema: + type: object ParseError: description: When a mask can't be parsed - content: {} + content: + application/json: + schema: + type: object