Update the API description 13/17913/1
authorGuangrong Fu <fu.guangrong@zte.com.cn>
Tue, 10 Oct 2017 10:10:48 +0000 (18:10 +0800)
committerGuangrong Fu <fu.guangrong@zte.com.cn>
Tue, 10 Oct 2017 10:10:48 +0000 (18:10 +0800)
Change-Id: I25109052b5d8776f5b83e543f6eef7d5e359dee8
Issue-ID: HOLMES-68
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
rulemgt/src/main/resources/swagger.json

index 748a311..e721257 100644 (file)
@@ -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"
         },
         "rulename" : {
           "type" : "string"
+        },
+        "loopcontrolname" : {
+          "type" : "string"
         }
       }
     },