{ "swagger" : "2.0", "info" : { "version" : "4.1.2", "title" : "Poin App" }, "host" : "{{host}}", "basePath" : "{{basePath}}", "schemes" : [ "{{schemes}}" ], "consumes" : [ "application/json" ], "produces" : [ "application/json" ], "paths" : { "/ruleProj/ruleFlow/index" : { "get" : { "description" : "Method Description -- index", "operationId" : "index", "tags" : [ "RuleFlowResource" ], "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "offset", "in" : "query", "required" : "false", "type" : "integer", "description" : "parameter name -- offset" }, { "name" : "limit", "in" : "query", "required" : "false", "type" : "integer", "description" : "parameter name -- limit" }, { "name" : "projectCode", "in" : "query", "required" : "false", "type" : "string", "description" : "parameter name -- projectCode" } ], "responses" : { "200" : { "schema" : { "$ref" : "#/definitions/PagingData" }, "description" : "Response OK" } } } }, "/ruleProj/ruleFlow/openRuleFlowDetail" : { "post" : { "description" : "Method Description -- openRuleFlowDetail", "operationId" : "openRuleFlowDetail", "tags" : [ "RuleFlowResource" ], "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "ruleflowmodel", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/RuleFlowModel" }, "description" : "parameter name -- ruleflowmodel" } ], "responses" : { "200" : { "schema" : { "type" : "object", "additionalProperties" : { "$ref" : "#/definitions/Object" } }, "description" : "Response OK" } } } }, "/ruleProj/ruleFlow/saveOrUpdate" : { "post" : { "description" : "Method Description -- saveOrUpdate", "operationId" : "saveOrUpdate", "tags" : [ "RuleFlowResource" ], "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "ruleflowmodel", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/RuleFlowModel" }, "description" : "parameter name -- ruleflowmodel" } ], "responses" : { "200" : { "schema" : { "$ref" : "#/definitions/Response" }, "description" : "Response OK" } } } }, "/ruleProj/ruleFlow" : { "" : { "description" : "Method Description -- revertRuleFlowModel", "operationId" : "revertRuleFlowModel", "tags" : [ "RuleFlowResource" ], "parameters" : [ { "name" : "httpservletrequest", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/HttpServletRequest" }, "description" : "parameter name -- httpservletrequest" }, { "name" : "httpservletresponse", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/HttpServletResponse" }, "description" : "parameter name -- httpservletresponse" }, { "name" : "ruleflowmodel", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/RuleFlowModel" }, "description" : "parameter name -- ruleflowmodel" } ], "responses" : { "200" : { "schema" : { "$ref" : "#/definitions/ResMessage" }, "description" : "Response OK" } } } }, "/ruleProj/ruleFlow/publishRuleFlowModel" : { "get" : { "description" : "Method Description -- publishRuleFlowModel", "operationId" : "publishRuleFlowModel", "tags" : [ "RuleFlowResource" ], "parameters" : [ { "name" : "flowId", "in" : "query", "required" : "false", "type" : "string", "description" : "parameter name -- flowId" } ], "responses" : { "200" : { "schema" : { "$ref" : "#/definitions/Response" }, "description" : "Response OK" } } } } }, "definitions" : { "Response" : { "type" : "object", "properties" : { } }, "HttpServletRequest" : { "type" : "object", "properties" : { } }, "JsonMessage" : { "type" : "object", "properties" : { "result" : { "type" : "boolean" }, "message" : { "type" : "string" }, "data" : { "$ref" : "#/definitions/Serializable" } } }, "RuleFlowModel" : { "type" : "object", "properties" : { "name" : { "type" : "string" }, "code" : { "type" : "string" }, "projectCode" : { "type" : "string" }, "manageId" : { "type" : "string" }, "version" : { "type" : "string" }, "ruleflowInfo" : { "type" : "string" }, "createBy" : { "type" : "string" }, "updateBy" : { "type" : "string" }, "bpmnData" : { "$ref" : "#/definitions/RuleFlowBpmnData" } } }, "ResMessage" : { "type" : "object", "properties" : { "code" : { "type" : "string" }, "msg" : { "type" : "string" }, "desDetail" : { "type" : "string" } } }, "ModelMap" : { "type" : "object", "properties" : { } }, "HttpServletResponse" : { "type" : "object", "properties" : { } }, "PagingData" : { "type" : "object", "properties" : { "offset" : { "type" : "integer" }, "total" : { "type" : "integer" }, "order" : { "type" : "string" }, "limit" : { "type" : "integer" }, "rows" : { "type" : "array", "items" : { "type" : "string" } }, "sort" : { "type" : "string" }, "search" : { "type" : "string" } } }, "Serializable" : { "type" : "object", "properties" : { } }, "Object" : { "type" : "object", "properties" : { } }, "RuleFlowBpmnData" : { "type" : "object", "properties" : { "states" : { "$ref" : "#/definitions/ArrayList" }, "paths" : { "$ref" : "#/definitions/ArrayList" } } }, "ArrayList" : { "type" : "object", "properties" : { } } } }