Made some API changes
[holmes/rule-management.git] / rulemgt / src / main / resources / swagger.json
index 748a311..2c1bcda 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"
         }
       }
     },
     "RuleQueryListResponse" : {
       "type" : "object",
       "properties" : {
-        "rules" : {
+        "correlationRules" : {
           "type" : "array",
           "items" : {
             "$ref" : "#/definitions/RuleResult4API"
           }
         },
-        "totalcount" : {
+        "totalCount" : {
           "type" : "integer",
           "format" : "int32"
         }
         "updatetime" : {
           "type" : "string",
           "format" : "date-time"
+        },
+        "loopcontrolname" : {
+          "type" : "string"
         }
       }
     },
         },
         "ruleid" : {
           "type" : "string"
+        },
+        "loopcontrolname" : {
+          "type" : "string"
         }
       }
     }