diff options
author | Chenfei Gao <cgao@research.att.com> | 2019-09-16 22:35:47 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-15 16:08:56 +0000 |
commit | f22846dd8b032876addae750a5d24fd6339b7c4b (patch) | |
tree | 1020d36c8adb9cb2945ddc7f5dc4f12d09e8e21d /docs/api/swagger/operational-policy-api.json | |
parent | 09ed59bc86f78ad25076c326f7240f5473c6e6c6 (diff) |
Update api swagger docs to reflect application/yaml support
Issue-ID: POLICY-2102
Change-Id: I46c9146d7c35edd1dfdc75b1efc82e89a1b726ef
Signed-off-by: Chenfei Gao <cgao@research.att.com>
Diffstat (limited to 'docs/api/swagger/operational-policy-api.json')
-rw-r--r-- | docs/api/swagger/operational-policy-api.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/api/swagger/operational-policy-api.json b/docs/api/swagger/operational-policy-api.json index 0306f737..63d36dfe 100644 --- a/docs/api/swagger/operational-policy-api.json +++ b/docs/api/swagger/operational-policy-api.json @@ -12,7 +12,7 @@ "summary" : "Retrieve the latest version of a particular operational policy", "description" : "Returns the latest version of the specified operational policy", "operationId" : "getLatestVersionOfOperationalPolicy", - "produces" : [ "application/json" ], + "produces" : [ "application/json", "application/yaml" ], "parameters" : [ { "name" : "policyId", "in" : "path", @@ -81,7 +81,7 @@ "summary" : "Retrieve deployed versions of a particular operational policy in pdp groups", "description" : "Returns deployed versions of a specified operational policy in pdp groups", "operationId" : "getDeployedVersionsOfOperationalPolicy", - "produces" : [ "application/json" ], + "produces" : [ "application/json", "application/yaml" ], "parameters" : [ { "name" : "policyId", "in" : "path", @@ -153,7 +153,7 @@ "summary" : "Retrieve one version of a particular operational policy", "description" : "Returns a particular version of a specified operational policy", "operationId" : "getSpecificVersionOfOperationalPolicy", - "produces" : [ "application/json" ], + "produces" : [ "application/json", "application/yaml" ], "parameters" : [ { "name" : "policyId", "in" : "path", @@ -226,7 +226,7 @@ "summary" : "Delete a particular version of a specified operational policy", "description" : "Delete a particular version of an operational policy. It must follow one rule. Rule: the version that has been deployed in PDP group(s) cannot be deleted", "operationId" : "deleteSpecificVersionOfOperationalPolicy", - "produces" : [ "application/json" ], + "produces" : [ "application/json", "application/yaml" ], "parameters" : [ { "name" : "policyId", "in" : "path", @@ -304,8 +304,8 @@ "summary" : "Create a new operational policy", "description" : "Create a new operational policy. Client should provide entity body of the new operational policy", "operationId" : "createOperationalPolicy", - "consumes" : [ "application/json" ], - "produces" : [ "application/json" ], + "consumes" : [ "application/json", "application/yaml" ], + "produces" : [ "application/json", "application/yaml" ], "parameters" : [ { "name" : "X-ONAP-RequestID", "in" : "header", |