From: Tommy Carpenter Date: Fri, 23 Aug 2019 00:09:14 +0000 (-0400) Subject: Include content type in a1 api. Not a change, no version bumps. X-Git-Tag: 0.10.3~1 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=ed111c85b031c7853226522916d54d45ff258b09;p=ric-plt%2Fa1.git Include content type in a1 api. Not a change, no version bumps. Change-Id: Id570585e2b86160ce443f95db0c0e45d4cdd0097 Signed-off-by: Tommy Carpenter --- diff --git a/a1/openapi.yaml b/a1/openapi.yaml index 66094ef..a49cf79 100644 --- a/a1/openapi.yaml +++ b/a1/openapi.yaml @@ -43,13 +43,11 @@ paths: description: > Replace the current operation of policyname with the new parameters (replaces the current policy with the new one specified here). - Until there are standard policy definitions that are defined OUTSIDE of the scope of xapps, this API will be *very underspecified*. This is a known gap, do not despair. The PUT body is specified, *currently* in the xapp manifest that implements this policy; the caller should refer to the message_receives_payload_schema field to make this request. The return content is also specified as above (in the xapp manifest) in the message_sends_payload_schema field. - Eventually, we need concrete policy defintions that are decoupled from xapp, and then this API description will become more fully specified. tags: - A1 Mediator @@ -103,6 +101,10 @@ paths: '200': description: > The downstream component responsible for implementing this policy replied with a good response. Check the manifest for response details. + content: + application/json: + schema: + type: object '400': description: > The downstream component for implementing this policy does not support policy fetching.