{ "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":{ "/wftest/init":{ "get":{ "description":"Method Description -- init", "operationId":"init", "tags":[ "WorkFlowTestResource" ], "parameters":[ { "name":"workItemId", "in":"query", "required":"false", "type":"string", "description":"parameter name -- workItemId" } ], "responses":{ "200":{ "schema":{ "$ref":"#/definitions/TLeaveBO" }, "description":"Response OK" } } } } }, "definitions":{ "TLeaveBO":{ "type":"object", "properties":{ "id":{ "type":"integer" }, "leaveTitle":{ "type":"string" }, "leaveReason":{ "type":"string" }, "leaveDays":{ "type":"string" }, "leaveDate":{ "type":"string" }, "processInstanceId":{ "type":"string" }, "workItemId":{ "type":"string" }, "flag":{ "type":"string" } } } } }