summaryrefslogtreecommitdiffstats
path: root/docs/api/swagger/guard-policy-api.json
diff options
context:
space:
mode:
authorChenfei Gao <cgao@research.att.com>2019-09-16 22:35:47 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-10-15 16:08:56 +0000
commitf22846dd8b032876addae750a5d24fd6339b7c4b (patch)
tree1020d36c8adb9cb2945ddc7f5dc4f12d09e8e21d /docs/api/swagger/guard-policy-api.json
parent09ed59bc86f78ad25076c326f7240f5473c6e6c6 (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/guard-policy-api.json')
-rw-r--r--docs/api/swagger/guard-policy-api.json14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/api/swagger/guard-policy-api.json b/docs/api/swagger/guard-policy-api.json
index 7bb6c99a..87b45081 100644
--- a/docs/api/swagger/guard-policy-api.json
+++ b/docs/api/swagger/guard-policy-api.json
@@ -12,7 +12,7 @@
"summary" : "Retrieve the latest version of a particular guard policy",
"description" : "Returns the latest version of the specified guard policy",
"operationId" : "getLatestVersionOfGuardPolicy",
- "produces" : [ "application/json" ],
+ "produces" : [ "application/json", "application/yaml" ],
"parameters" : [ {
"name" : "policyId",
"in" : "path",
@@ -84,7 +84,7 @@
"summary" : "Retrieve deployed versions of a particular guard policy in pdp groups",
"description" : "Returns deployed versions of a specified guard policy in pdp groups",
"operationId" : "getDeployedVersionsOfGuardPolicy",
- "produces" : [ "application/json" ],
+ "produces" : [ "application/json", "application/yaml" ],
"parameters" : [ {
"name" : "policyId",
"in" : "path",
@@ -156,7 +156,7 @@
"summary" : "Retrieve one version of a particular guard policy",
"description" : "Returns a particular version of a specified guard policy",
"operationId" : "getSpecificVersionOfGuardPolicy",
- "produces" : [ "application/json" ],
+ "produces" : [ "application/json", "application/yaml" ],
"parameters" : [ {
"name" : "policyId",
"in" : "path",
@@ -232,8 +232,8 @@
"summary" : "Delete a particular version of a guard policy",
"description" : "Delete a particular version of a guard policy. It must follow one rule. Rule: the version that has been deployed in PDP group(s) cannot be deleted",
"operationId" : "deleteSpecificVersionOfGuardPolicy",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
+ "consumes" : [ "application/json", "application/yaml" ],
+ "produces" : [ "application/json", "application/yaml" ],
"parameters" : [ {
"name" : "policyId",
"in" : "path",
@@ -314,8 +314,8 @@
"summary" : "Create a new guard policy",
"description" : "Create a new guard policy. Client should provide entity body of the new guard policy",
"operationId" : "createGuardPolicy",
- "consumes" : [ "application/json" ],
- "produces" : [ "application/json" ],
+ "consumes" : [ "application/json", "application/yaml" ],
+ "produces" : [ "application/json", "application/yaml" ],
"parameters" : [ {
"name" : "X-ONAP-RequestID",
"in" : "header",