summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-10 18:10:48 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-10 18:10:48 +0800
commit1c0fcc2b9b864bc9994991bc5437c7ee3ba6b2b3 (patch)
treed7c822df3972d3b39bd4b1a85b1762c2215a8ea5
parenta1323a079041791a6cfc0c0b0d0ffc973af165f9 (diff)
Update the API description
Change-Id: I25109052b5d8776f5b83e543f6eef7d5e359dee8 Issue-ID: HOLMES-68 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
-rw-r--r--rulemgt/src/main/resources/swagger.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/rulemgt/src/main/resources/swagger.json b/rulemgt/src/main/resources/swagger.json
index 748a311..e721257 100644
--- a/rulemgt/src/main/resources/swagger.json
+++ b/rulemgt/src/main/resources/swagger.json
@@ -94,7 +94,7 @@
"parameters" : [ {
"in" : "body",
"name" : "body",
- "description" : "The request entity of the HTTP call, which comprises \"rulename\"(required), \"content\"(required), \"enabled\"(required) and \"description\"(optional)",
+ "description" : "The request entity of the HTTP call, which comprises \"rulename\"(required), \"loopcontrolname\"(required), \"content\"(required), \"enabled\"(required) and \"description\"(optional)",
"required" : true,
"schema" : {
"$ref" : "#/definitions/RuleCreateRequest"
@@ -158,6 +158,9 @@
},
"rulename" : {
"type" : "string"
+ },
+ "loopcontrolname" : {
+ "type" : "string"
}
}
},