Include content type in a1 api. Not a change, no version bumps. 81/781/3
authorTommy Carpenter <tommy@research.att.com>
Fri, 23 Aug 2019 00:09:14 +0000 (20:09 -0400)
committerTommy Carpenter <tommy@research.att.com>
Sat, 24 Aug 2019 00:26:19 +0000 (20:26 -0400)
Change-Id: Id570585e2b86160ce443f95db0c0e45d4cdd0097
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
a1/openapi.yaml

index 66094ef..a49cf79 100644 (file)
@@ -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.