From 1c0fcc2b9b864bc9994991bc5437c7ee3ba6b2b3 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Tue, 10 Oct 2017 18:10:48 +0800 Subject: Update the API description Change-Id: I25109052b5d8776f5b83e543f6eef7d5e359dee8 Issue-ID: HOLMES-68 Signed-off-by: Guangrong Fu --- rulemgt/src/main/resources/swagger.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rulemgt/src/main/resources') 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" } } }, -- cgit 1.2.3-korg