X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=engine-d%2Fsrc%2Fmain%2Fresources%2Fswagger.json;h=6cb8eaf4baee1a00c8bd023f1b4940e74b45c440;hb=3b822dd0c43d656cf4cb9b3f37633300b963e120;hp=4dd3f6d5455608944019a2fcf7f9b5fd8ac5d074;hpb=fe3bae00cfa7eac9618856b1dd10a8c03daa8810;p=holmes%2Fengine-management.git diff --git a/engine-d/src/main/resources/swagger.json b/engine-d/src/main/resources/swagger.json index 4dd3f6d..6cb8eaf 100644 --- a/engine-d/src/main/resources/swagger.json +++ b/engine-d/src/main/resources/swagger.json @@ -63,7 +63,7 @@ "parameters" : [ { "in" : "body", "name" : "body", - "description" : "The request entity of the HTTP call, which comprises two fields: \"content\" and \"engineid\". The \"content\" should be a valid Drools rule string and the \"engineid\" has to be \"engine-d\" in the Amsterdam release.", + "description" : "The request entity of the HTTP call, which comprises three fields: \"content\" , \"loopcontrolname\" and \"engineid\". The \"content\" should be a valid Drools rule string and the \"engineid\" has to be \"engine-d\" in the Amsterdam release.", "required" : true, "schema" : { "$ref" : "#/definitions/DeployRuleRequest" @@ -114,13 +114,16 @@ }, "DeployRuleRequest" : { "type" : "object", - "required" : [ "content" ], + "required" : [ "content", "loopcontrolname" ], "properties" : { "content" : { "type" : "string" }, "engineid" : { "type" : "string" + }, + "loopcontrolname" : { + "type" : "string" } } }