{ "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/scoreModel/index" : { "get" : { "description" : "Method Description -- index", "operationId" : "index", "tags" : [ "RuleScoreCardResource" ], "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/scoreModel/getScoreCardDetail" : { "post" : { "description" : "Method Description -- getScorgetScoreCardDetaileDetail", "operationId" : "getScorgetScoreCardDetaileDetail", "tags" : [ "RuleScoreCardResource" ], "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "rulemodelvo", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/RuleModelVo" }, "description" : "parameter name -- rulemodelvo" } ], "responses" : { "200" : { "schema" : { "type" : "object", "additionalProperties" : { "$ref" : "#/definitions/Object" } }, "description" : "Response OK" } } } }, "/ruleProj/scoreModel/openScoreCard" : { "post" : { "description" : "Method Description -- openScoreCard", "operationId" : "openScoreCard", "tags" : [ "RuleScoreCardResource" ], "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "rulemanagevo", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/RuleManageVO" }, "description" : "parameter name -- rulemanagevo" } ], "responses" : { "200" : { "schema" : { "type" : "object", "additionalProperties" : { "$ref" : "#/definitions/Object" } }, "description" : "Response OK" } } } }, "/ruleProj/scoreModel/saveOrUpdate" : { "post" : { "description" : "Method Description -- saveOrUpdate", "operationId" : "saveOrUpdate", "tags" : [ "RuleScoreCardResource" ], "produces" : [ "application/json" ], "consumes" : [ "application/json" ], "parameters" : [ { "name" : "scoreentity", "in" : "body", "required" : "true", "schema" : { "$ref" : "#/definitions/ScoreEntity" }, "description" : "parameter name -- scoreentity" } ], "responses" : { "200" : { "schema" : { "$ref" : "#/definitions/Response" }, "description" : "Response OK" } } } } }, "definitions" : { "Response" : { "type" : "object", "properties" : { } }, "RuleManageVO" : { "type" : "object", "properties" : { "page" : { "$ref" : "#/definitions/Page" }, "id" : { "type" : "string" }, "code" : { "type" : "string" }, "name" : { "type" : "string" }, "projectCode" : { "type" : "string" }, "modelType" : { "type" : "string" }, "modelTypeCN" : { "type" : "string" }, "status" : { "type" : "string" }, "version" : { "type" : "string" }, "isSingle" : { "type" : "string" }, "isTemp" : { "type" : "string" }, "createdBy" : { "type" : "string" }, "createdById" : { "type" : "string" }, "createdOn" : { "type" : "string" }, "modifiedBy" : { "type" : "string" }, "updateById" : { "type" : "string" }, "modifiedOn" : { "type" : "string" }, "users" : { "type" : "string" }, "locker" : { "type" : "string" }, "owner" : { "type" : "string" }, "upgrad" : { "type" : "boolean" } } }, "ScoreEntity" : { "type" : "object", "properties" : { "scoreModel" : { "$ref" : "#/definitions/RuleManage" }, "treeList" : { "type" : "array", "items" : { "$ref" : "#/definitions/ScoreItem" } } } }, "RuleModelVo" : { "type" : "object", "properties" : { "projectCode" : { "type" : "string" }, "id" : { "type" : "string" }, "version" : { "type" : "string" }, "temp" : { "type" : "string" } } }, "PagingData" : { "type" : "object", "properties" : { "offset" : { "type" : "integer" }, "total" : { "type" : "integer" }, "order" : { "type" : "string" }, "limit" : { "type" : "integer" }, "rows" : { "type" : "array", "items" : { "type" : "string" } }, "search" : { "type" : "string" }, "sort" : { "type" : "string" } } }, "RuleManage" : { "type" : "object", "properties" : { "id" : { "type" : "string" }, "currentUser" : { "$ref" : "#/definitions/User" }, "page" : { "$ref" : "#/definitions/Page" }, "pageSize" : { "type" : "integer" }, "pageNum" : { "type" : "integer" }, "isNewRecord" : { "type" : "boolean" }, "remarks" : { "type" : "string" }, "createDate" : { "type" : "string" }, "updateDate" : { "type" : "string" }, "delFlag" : { "type" : "string" }, "createBy" : { "type" : "string" }, "updateBy" : { "type" : "string" }, "global" : { "$ref" : "#/definitions/Global" }, "sqlMap" : { "type" : "object", "additionalProperties" : { "type" : "string" } }, "code" : { "type" : "string" }, "name" : { "type" : "string" }, "modelType" : { "type" : "string" }, "projectCode" : { "type" : "string" }, "status" : { "type" : "string" }, "version" : { "type" : "string" }, "isSingle" : { "type" : "string" }, "countSalience" : { "type" : "integer" }, "isTemp" : { "type" : "string" }, "oldVersion" : { "type" : "string" }, "oldId" : { "type" : "string" } } }, "Object" : { "type" : "object", "properties" : { } }, "Page" : { "type" : "object", "properties" : { "pageNo" : { "type" : "integer" }, "pageSize" : { "type" : "integer" }, "count" : { "type" : "number" }, "first" : { "type" : "integer" }, "last" : { "type" : "integer" }, "prev" : { "type" : "integer" }, "next" : { "type" : "integer" }, "firstPage" : { "type" : "boolean" }, "lastPage" : { "type" : "boolean" }, "length" : { "type" : "integer" }, "slider" : { "type" : "integer" }, "list" : { "type" : "array", "items" : { "type" : "string" } }, "orderBy" : { "type" : "string" }, "funcName" : { "type" : "string" }, "funcParam" : { "type" : "string" }, "message" : { "type" : "string" } } }, "ScoreItem" : { "type" : "object", "properties" : { "manageId" : { "type" : "string" }, "version" : { "type" : "string" }, "projectCode" : { "type" : "string" }, "className" : { "type" : "string" }, "namecn" : { "type" : "string" }, "nameen" : { "type" : "string" }, "contentType" : { "type" : "string" }, "treeId" : { "type" : "string" }, "scoreParam" : { "type" : "number" }, "dataType" : { "type" : "string" }, "defaultValue" : { "type" : "string" }, "domain" : { "type" : "string" }, "position" : { "type" : "integer" }, "isDerives" : { "type" : "string" }, "seq" : { "type" : "integer" }, "formulaLabel" : { "type" : "string" }, "formula" : { "type" : "string" }, "list" : { "type" : "array", "items" : { "$ref" : "#/definitions/RuleScoreInfo" } } } }, "User" : { "type" : "object", "properties" : { "id" : { "type" : "string" }, "LoginName" : { "type" : "string" }, "name" : { "type" : "string" }, "roleList" : { "type" : "array", "items" : { "$ref" : "#/definitions/Role" } } } }, "RuleScoreInfo" : { "type" : "object", "properties" : { "id" : { "type" : "string" }, "currentUser" : { "$ref" : "#/definitions/User" }, "page" : { "$ref" : "#/definitions/Page" }, "pageSize" : { "type" : "integer" }, "pageNum" : { "type" : "integer" }, "isNewRecord" : { "type" : "boolean" }, "remarks" : { "type" : "string" }, "createDate" : { "type" : "string" }, "updateDate" : { "type" : "string" }, "delFlag" : { "type" : "string" }, "createBy" : { "type" : "string" }, "updateBy" : { "type" : "string" }, "global" : { "$ref" : "#/definitions/Global" }, "sqlMap" : { "type" : "object", "additionalProperties" : { "type" : "string" } }, "manageId" : { "type" : "string" }, "projectCode" : { "type" : "string" }, "parentTreeId" : { "type" : "string" }, "treeId" : { "type" : "string" }, "label" : { "type" : "string" }, "version" : { "type" : "string" }, "scoreVal" : { "type" : "number" }, "symbol" : { "type" : "string" }, "contrastVals" : { "type" : "string" }, "lowerOpt" : { "type" : "string" }, "lowerVal" : { "type" : "string" }, "upperOpt" : { "type" : "string" }, "upperVal" : { "type" : "string" }, "sectionType" : { "type" : "string" }, "formulaLabel" : { "type" : "string" }, "formula" : { "type" : "string" }, "seq" : { "type" : "integer" }, "scopeDesc" : { "type" : "string" }, "isOther" : { "type" : "string" } } }, "Global" : { "type" : "object", "properties" : { } }, "Role" : { "type" : "object", "properties" : { "enname" : { "type" : "string" }, "name" : { "type" : "string" } } } } }