{ "swagger":"2.0", "info":{ "version":"0.0.1", "title":"Hello World App" }, "host":"{{host}}", "basePath":"{{basePath}}", "schemes":[ "{{schemes}}" ], "consumes":[ "application/json", "application/xml" ], "produces":[ "application/json", "application/xml" ], "paths":{ "/orgs/org/all":{ "get":{ "description":"Method Description -- getAllDepartment", "operationId":"getAllDepartment", "tags":[ "OrgResource" ], "responses":{ "200":{ "schema":{ "type":"array", "items":{ "$ref":"#/definitions/Department" } }, "description":"Response OK" } } } }, "/orgs/org":{ "post":{ "description":"Method Description -- getAllDepartment", "operationId":"getAllDepartment", "tags":[ "OrgResource" ], "parameters":[ { "name":"nodeid", "in":"body", "description":"get menu", "required":true, "schema":{ "$ref":"#/definitions/dempdetail" } } ], "responses":{ "200":{ "schema":{ "type":"array", "items":{ "$ref":"#/definitions/Department" } }, "description":"Response OK" } } } }, "/orgs/org/getusersdepartmens" : { "get" : { "description" : "Method Description -- getusersdepartmens", "operationId" : "getusersdepartmens", "tags" : [ "OrgResource" ], "parameters" : [ ], "responses" : { "200" : { "schema" : { "type" : "array", "items" : { "type" : "map" } }, "description" : "Response OK" } } } }, "/orgs/org/model":{ "get":{ "description":"Method Description -- getAllDepartment", "operationId":"getAllDepartment", "tags":[ "OrgResource" ], "responses":{ "200":{ "schema":{ "type":"string", "items":{ "$ref":"#/definitions/Department" } }, "description":"Response OK" } } } }, "/orgs/org/subtree/{num}":{ "get":{ "description":"Method Description -- getDepartmentTree4Add", "operationId":"getDepartmentTree4Add", "tags":[ "OrgResource" ], "parameters":[ { "name":"num", "in":"path", "required":"true", "type":"string", "description":"parameter name -- num" } ], "responses":{ "200":{ "schema":{ "type":"array", "items":{ "$ref":"#/definitions/subTree" } }, "description":"Response OK" } } } }, "/orgs/org/mechanismd/yngyjg/{num}":{ "get":{ "description":"Method Description -- getDepartmentTree4Add", "operationId":"getDepartmentTree4Add", "tags":[ "OrgResource" ], "parameters":[ { "name":"num", "in":"path", "required":"true", "type":"string", "description":"parameter name -- num" } ], "responses":{ "200":{ "schema":{ "type":"array", "items":{ "$ref":"#/definitions/TreeNode" } }, "description":"Response OK" } } } }, "/users/user/paging/orgid/{orgid}":{ "get":{ "description":"pagingData", "operationId":"validateGetList", "parameters":[ { "name":"limit", "in":"query", "description":"The name of the person to whom to say limit", "required":false, "type":"string" }, { "name":"offset", "in":"query", "description":"The name of the person to whom to say offset", "required":false, "type":"string" }, { "name":"orgid", "in":"query", "description":"The name of the person to whom to say offset", "required":false, "type":"string" }, { "name":"form", "in":"query", "description":"The name of the person to whom to say offset", "required":false, "type":"string" } ], "responses":{ "200":{ "description":"Success", "schema":{ "$ref":"#/definitions/userList" } }, "default":{ "description":"Error", "schema":{ "$ref":"#/definitions/ErrorResponse" } } } } }, "/orgs/org/{num}":{ "post":{ "description":"Method Description -- deleteOrg", "operationId":"deleteOrg", "tags":[ "OrgResource" ], "produces":[ "text/xml" ], "parameters":[ { "name":"num", "in":"path", "required":"true", "type":"string", "description":"parameter name -- num" } ], "responses":{ "200":{ "schema":{ "type":"string" }, "description":"Response OK" } } } } }, "definitions":{ "PagingData":{ "type":"object", "properties":{ "order":{ "type":"string" }, "limit":{ "type":"integer" }, "offset":{ "type":"integer" }, "total":{ "type":"integer" }, "rows":{ "type":"array", "items":{ "type":"string" } } } }, "subTree":{ "type":"object", "properties":{ "id":{ "type":"string" }, "parentId":{ "type":"string" }, "text":{ "type":"integer" } } }, "dempdetail":{ "type":"object", "properties":{ "id":{ "type":"string" }, "entity":{ "type":"string" }, "name":{ "type":"string" }, "levels":{ "type":"integer" }, "youzbm":{ "type":"integer" }, "jigolx":{ "type":"string" }, "jgyyjb":{ "type":"integer" } } }, "TreeNode":{ "type":"object", "properties":{ "gnlisj":{ "type":"string" }, "yngyjg":{ "type":"string" }, "jigomc":{ "type":"string" }, "zngwsj":{ "type":"integer" }, "xinjsj":{ "type":"integer" }, "jggljb":{ "type":"string" }, "jgyyjb":{ "type":"integer" }, "jigolx":{ "type":"integer" }, "youzbm":{ "type":"string" }, "ynhbic":{ "type":"string" }, "yinhom":{ "type":"integer" } } }, "userList":{ "type":"object", "properties":{ "id":{ "type":"string" }, "name":{ "type":"string" }, "logName":{ "type":"string", "description":"This is a send" }, "sex":{ "type":"string", "description":"This is a send" }, "email":{ "type":"string", "description":"This is a send" }, "state":{ "type":"string", "description":"This is a send" } } }, "Department":{ "type":"object", "properties":{ "parentDepartmentId":{ "type":"integer" }, "departmentNumber":{ "type":"integer" }, "id":{ "type":"integer" }, "entity":{ "type":"string" }, "name":{ "type":"string" }, "levels":{ "type":"string" }, "youzbm":{ "type":"integer" }, "jigolx":{ "type":"string" }, "jgyyjb":{ "type":"integer" }, "zngwsj":{ "type":"integer" }, "ynhbic":{ "type":"string" }, "yinhom":{ "type":"integer" } } }, "successResponse":{ "type":"object", "properties":{ "status":{ "type":"string", "description":"This is a send" } } }, "ErrorResponse":{ "required":[ "message" ], "properties":{ "MESSAGE":{ "type":"string" } } } } }