Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只有请求参数没有返回参数 #72

Open
michaelwangwangwang opened this issue Aug 11, 2022 · 1 comment
Open

只有请求参数没有返回参数 #72

michaelwangwangwang opened this issue Aug 11, 2022 · 1 comment

Comments

@michaelwangwangwang
Copy link

{"openapi":"3.0.3","info":{"title":"SSMD Swagger3接口文档","description":"更多请咨询服务开发者","version":"1.0"},"servers":[{"url":"http://test.api.s.woa.com:80","description":"Inferred Url"}],"tags":[{"name":"定时任务","description":"Timed Task Controller"},{"name":"待办任务","description":"Task Controller"},{"name":"待办数据查询","description":"Data Controller"},{"name":"待办系统设置","description":"Setting Controller"},{"name":"服务健康检查","description":"Registration Center Health Check Controller"}],"paths":{"/deleteTask":{"post":{"tags":["待办数据查询"],"summary":"删除已办任务","operationId":"deleteDoneTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/删除已办任务请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/deleteUndoneTask":{"post":{"tags":["待办数据查询"],"summary":"删除未办任务","operationId":"deleteUndoneTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/删除已办任务请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getAllDoneTask":{"post":{"tags":["待办数据查询"],"summary":"查询已办任务(前台)","operationId":"getAllDoneTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询任务请求体(非分页)"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/分页查询返回数据«任务信息»"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getAllUndoneTask":{"post":{"tags":["待办数据查询"],"summary":"查询未办任务(前台)","operationId":"getAllUndoneTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询任务请求体(非分页)"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/分页查询返回数据«任务信息»"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getDoneTask":{"post":{"tags":["待办数据查询"],"summary":"查询已办任务(后台)","operationId":"getDoneTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询任务请求体(非分页)"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/任务信息"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getUndoneTask":{"post":{"tags":["待办数据查询"],"summary":"查询未办任务(后台)","operationId":"getUndoneTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询任务请求体(非分页)"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/任务信息"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/healthCheck":{"get":{"tags":["服务健康检查"],"summary":"健康检查接口","operationId":"healthCheckUsingGET","responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/addNotice":{"post":{"tags":["待办系统设置"],"summary":"添加通知策略","operationId":"addNoticeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/添加通知策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/addTemplate":{"post":{"tags":["待办系统设置"],"summary":"添加模版","operationId":"addTemplateUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/添加模版配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/addUrge":{"post":{"tags":["待办系统设置"],"summary":"添加催办策略","operationId":"addUrgeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/添加催办策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/clearCache":{"post":{"tags":["待办系统设置"],"summary":"清除缓存","operationId":"clearUsingPOST","responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/deleteNotice":{"post":{"tags":["待办系统设置"],"summary":"删除通知策略","operationId":"deleteNoticeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/删除通知策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/deleteTemplate":{"post":{"tags":["待办系统设置"],"summary":"删除模版","operationId":"deleteTemplateUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/删除模版配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/deleteUrge":{"post":{"tags":["待办系统设置"],"summary":"删除催办策略","operationId":"deleteUrgeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/删除催办策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getNotice":{"post":{"tags":["待办系统设置"],"summary":"查看通知策略","operationId":"getNoticeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询通知策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/分页查询返回数据«通知策略»"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getTemplate":{"post":{"tags":["待办系统设置"],"summary":"查看模版","operationId":"getTemplateUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询模版配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/分页查询返回数据«模版信息»"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getUrge":{"post":{"tags":["待办系统设置"],"summary":"查看催办策略","operationId":"getUrgeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询催办策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/分页查询返回数据«催办策略»"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/updateNotice":{"post":{"tags":["待办系统设置"],"summary":"更新通知策略","operationId":"updateNoticeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/更新通知策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/updateTemplate":{"post":{"tags":["待办系统设置"],"summary":"更新模版","operationId":"updateTemplateUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/更新模版配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/updateUrge":{"post":{"tags":["待办系统设置"],"summary":"更新催办策略","operationId":"updateUrgeUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/更新催办策略配置请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/addTask":{"post":{"tags":["待办任务"],"summary":"添加待办任务","operationId":"addTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/添加任务请求体"}}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/待办任务操作返回体"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/finishTask":{"post":{"tags":["待办任务"],"summary":"完成待办任务","operationId":"finishTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/完成任务请求体"}}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/待办任务操作返回体"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getBusinessGroup":{"post":{"tags":["待办任务"],"summary":"获取业务组列表","operationId":"getBusinessGroupUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/系统请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"type":"string"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getNum":{"post":{"tags":["待办任务"],"summary":"获取任务数据","operationId":"getNumUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/系统请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/待办任务统计数据"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getTask":{"post":{"tags":["待办任务"],"summary":"查询任务","operationId":"getTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/查询任务请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/分页查询返回数据«任务信息»"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getTaskById":{"post":{"tags":["待办任务"],"summary":"根据id查询任务","operationId":"getTaskByIdUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/通过任务ID查询任务"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"$ref":"#/components/schemas/任务信息"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/getTaskGroup":{"post":{"tags":["待办任务"],"summary":"获取任务组列表","operationId":"getTaskGroupUsingPOST","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/系统请求体"}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"type":"string"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/starTask":{"post":{"tags":["待办任务"],"summary":"收藏待办任务","operationId":"starTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/收藏任务请求体"}}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/待办任务操作返回体"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/transferTask":{"post":{"tags":["待办任务"],"summary":"转待办任务","operationId":"transferTaskUsingPOST","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/转任务请求体"}}}}},"responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/待办任务操作返回体"}}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/dailyReminderTask":{"post":{"tags":["定时任务"],"summary":"每日提醒","operationId":"dailyReminderTaskUsingPOST","responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}},"/urgeTask":{"post":{"tags":["定时任务"],"summary":"催办","operationId":"urgeTaskUsingPOST","responses":{"200":{"description":"OK","content":{"/":{"schema":{"type":"boolean"}}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}}}}},"components":{"schemas":{"任务信息":{"title":"任务信息","type":"object","properties":{"admin":{"type":"string","description":"管理员","example":"["bob","tom"]"},"assetId":{"type":"string","description":"固资号","example":"xxxxx"},"businessGroup":{"type":"string","description":"业务组别","example":"故障"},"dispatchTime":{"type":"string","description":"发起时间","format":"date-time"},"executor":{"type":"string","description":"执行人","example":"mike"},"expireTime":{"type":"string","description":"过期时间","format":"date-time"},"extraData":{"type":"string","description":"其它信息","example":"{"ip":"x.xx.xxx.xx","sn":"TSC9078231AT"}"},"extraMap":{"type":"object","description":"其它信息(map)","example":"{"ip":"x.xx.xxx.xx","sn":"TSC9078231AT"}"},"finishTime":{"type":"string","description":"完成时间","format":"date-time"},"handlerUrl":{"type":"string","description":"处理链接","example":"http://www.xship.com/131323/142122/4123"},"id":{"type":"integer","description":"任务ID","format":"int64","example":1},"instanceDesc":{"type":"string","description":"流程实例名称","example":"x.xx.xxx.xx|TSC9078231AT|服务器故障流程"},"instanceId":{"type":"integer","description":"流程实例ID","format":"int64","example":97708012908},"jobId":{"type":"integer","description":"任务ID","format":"int64","example":77654598733},"jobName":{"type":"string","description":"任务中文名","example":"虚拟子机负责人确认故障"},"jobType":{"type":"string","description":"任务英文名","example":"ConfirmationVirtualFailure"},"levelId":{"type":"integer","description":"任务级别","format":"int32","example":1},"listener":{"type":"string","description":"关注人","example":"[\"bob\",\"tom\"]"},"principal":{"type":"string","description":"责任人","example":"[\"mike\",\"lucy\"]"},"processId":{"type":"string","description":"流程英文名","example":"ServerFailureProcess"},"processName":{"type":"string","description":"流程中文名","example":"服务器故障流程"},"record":{"type":"string","description":"转单信息","example":"此单由jack转单至Mike"},"remark":{"type":"string","description":"备注信息","example":"xxx"},"sponsor":{"type":"string","description":"发起人","example":"jack"},"star":{"type":"boolean","description":"是否收藏","example":true},"strategyId":{"type":"integer","description":"待办通知策略ID","format":"int32"},"systemName":{"type":"string","description":"发起系统","example":"xship"},"taskGroup":{"type":"string","description":"任务组别","example":"故障"},"taskName":{"type":"string","description":"任务名称","example":"虚拟子机负责人确认故障"},"taskType":{"type":"integer","description":"任务类型;0普通任务;1流程任务","format":"int32","example":0},"type":{"type":"integer","description":"1有操作权限的;2无操作权限的;4完成的任务","format":"int32","example":1}}},"催办策略":{"title":"催办策略","type":"object","properties":{"ccLeader":{"type":"boolean","description":"抄送leader","example":true},"ccListener":{"type":"boolean","description":"抄送关注者","example":true},"ccSponsor":{"type":"boolean","description":"抄送关注者","example":true},"createTime":{"type":"string","description":"创建时间","format":"date-time"},"endPoint":{"type":"integer","description":"催办结束点","format":"int32","example":20},"id":{"type":"integer","description":"催办策略ID","format":"int32","example":1},"jobIdentity":{"type":"string","description":"任务标识","example":"xxx"},"processId":{"type":"string","description":"流程ID","example":"DemoProcess"},"startPoint":{"type":"integer","description":"催办开始点","format":"int32","example":20},"strategyId":{"type":"integer","description":"策略ID","format":"int32"},"systemName":{"type":"string","description":"系统名","example":"xship"},"updateTime":{"type":"string","description":"更新时间","format":"date-time"}}},"分页查询返回数据«任务信息»":{"title":"分页查询返回数据«任务信息»","type":"object","properties":{"list":{"type":"array","description":"数据集合","example":"[]","items":{"$ref":"#/components/schemas/任务信息"}},"total":{"type":"integer","description":"数据总数","format":"int64","example":100}}},"分页查询返回数据«催办策略»":{"title":"分页查询返回数据«催办策略»","type":"object","properties":{"list":{"type":"array","description":"数据集合","example":"[]","items":{"$ref":"#/components/schemas/催办策略"}},"total":{"type":"integer","description":"数据总数","format":"int64","example":100}}},"分页查询返回数据«模版信息»":{"title":"分页查询返回数据«模版信息»","type":"object","properties":{"list":{"type":"array","description":"数据集合","example":"[]","items":{"$ref":"#/components/schemas/模版信息"}},"total":{"type":"integer","description":"数据总数","format":"int64","example":100}}},"分页查询返回数据«通知策略»":{"title":"分页查询返回数据«通知策略»","type":"object","properties":{"list":{"type":"array","description":"数据集合","example":"[]","items":{"$ref":"#/components/schemas/通知策略"}},"total":{"type":"integer","description":"数据总数","format":"int64","example":100}}},"删除催办策略配置请求体":{"title":"删除催办策略配置请求体","required":["id"],"type":"object","properties":{"id":{"type":"integer","description":"id","format":"int32","example":1}}},"删除已办任务请求体":{"title":"删除已办任务请求体","required":["id"],"type":"object","properties":{"id":{"type":"array","description":"id","example":"[10000,20000]","items":{"type":"integer","format":"int64"}}}},"删除模版配置请求体":{"title":"删除模版配置请求体","required":["id"],"type":"object","properties":{"id":{"type":"integer","description":"id","format":"int32","example":1}}},"删除通知策略配置请求体":{"title":"删除通知策略配置请求体","required":["id"],"type":"object","properties":{"id":{"type":"integer","description":"id","format":"int32","example":1}}},"完成任务请求体":{"title":"完成任务请求体","required":["executor","finishTime","id"],"type":"object","properties":{"executor":{"type":"string","description":"实际执行人","example":"mike"},"finishTime":{"type":"string","description":"完成时间","format":"date-time"},"id":{"type":"integer","description":"待办单号","format":"int64","example":10001},"remark":{"type":"string","description":"备注信息","example":"xxx"},"sendMessage":{"type":"boolean","description":"是否发送消息","example":true}}},"待办任务操作返回体":{"title":"待办任务操作返回体","type":"object","properties":{"errMsg":{"type":"string","description":"错误消息","example":"some error occurred"},"status":{"type":"boolean","description":"返回状态","example":true},"task":{"description":"任务","$ref":"#/components/schemas/任务信息"}}},"待办任务统计数据":{"title":"待办任务统计数据","type":"object","properties":{"doneNum":{"type":"integer","description":"已办任务数量","format":"int32","example":1},"listenNum":{"type":"integer","description":"关注任务数量","format":"int32","example":1},"starNum":{"type":"integer","description":"收藏任务数量","format":"int32","example":1},"undoneNum":{"type":"integer","description":"未办任务数量","format":"int32","example":1}}},"排序":{"title":"排序","type":"object","properties":{"field":{"type":"string","description":"排序字段","example":"age"},"order":{"type":"string","description":"排序方式","example":"desc"}}},"收藏任务请求体":{"title":"收藏任务请求体","required":["id","star"],"type":"object","properties":{"id":{"type":"integer","description":"待办单号","format":"int64","example":10001},"star":{"type":"boolean","description":"是否收藏","example":true}}},"更新催办策略配置请求体":{"title":"更新催办策略配置请求体","required":["ccLeader","ccListener","ccSponsor","endPoint","id","jobIdentity","processId","startPoint","strategyId","systemName"],"type":"object","properties":{"ccLeader":{"type":"boolean","description":"抄送leader","example":true},"ccListener":{"type":"boolean","description":"抄送关注人","example":true},"ccSponsor":{"type":"boolean","description":"抄送发起人","example":true},"endPoint":{"type":"integer","description":"催办结束点","format":"int32","example":80},"id":{"type":"integer","description":"id","format":"int32","example":1},"jobIdentity":{"type":"string","description":"任务标识","example":"ManualConfirmation"},"processId":{"type":"string","description":"流程英文名","example":"ServerFailureProcess"},"startPoint":{"type":"integer","description":"催办开始点","format":"int32","example":60},"strategyId":{"type":"integer","description":"策略ID","format":"int32","example":1},"systemName":{"type":"string","description":"系统名","example":"xship"}}},"更新模版配置请求体":{"title":"更新模版配置请求体","required":["htmlTpl","id","scenesName","strategyId","systemName","textTpl","titleTpl","voiceTpl"],"type":"object","properties":{"htmlTpl":{"type":"string","description":"html模版","example":"xxxx"},"id":{"type":"integer","description":"id","format":"int32","example":1},"scenesName":{"type":"string","description":"场景","example":"new_task"},"strategyId":{"type":"integer","description":"策略ID","format":"int32","example":1},"systemName":{"type":"string","description":"系统名","example":"xship"},"textTpl":{"type":"string","description":"文字模版","example":"xxxx"},"titleTpl":{"type":"string","description":"标题模版","example":"xxxx"},"voiceTpl":{"type":"string","description":"语音模板","example":"xxxx"}}},"更新通知策略配置请求体":{"title":"更新通知策略配置请求体","required":["id","noticeType","scenesName","strategyId","systemName"],"type":"object","properties":{"id":{"type":"integer","description":"id","format":"int32","example":1},"noticeType":{"type":"array","description":"通知类型","example":"["mail","rtx","wechat"]","items":{"type":"string"}},"scenesName":{"type":"string","description":"场景","example":"new_task"},"strategyId":{"type":"integer","description":"策略ID","format":"int32","example":1},"systemName":{"type":"string","description":"系统名","example":"xship"}}},"查询任务请求体":{"title":"查询任务请求体","type":"object","properties":{"assetId":{"type":"array","description":"固资号","example":"["12312113123231","231344821217912"]","items":{"type":"string"}},"businessGroup":{"type":"array","description":"业务组名称","example":"["xxxxx","rrrrr"]","items":{"type":"string"}},"dispatchTime":{"type":"array","description":"发起时间","example":"xxx","items":{"type":"string"}},"executor":{"type":"string","description":"实际处理人","example":"xxx"},"finishTime":{"type":"array","description":"完成时间","example":"xxx","items":{"type":"string"}},"instanceId":{"type":"array","description":"流程ID","example":"["12312113123231","231344821217912"]","items":{"type":"string"}},"page":{"type":"integer","description":"页码","format":"int32","example":1},"size":{"type":"integer","description":"单页大小","format":"int32","example":10},"sort":{"type":"array","description":"排序方式","example":"[{"age":"asc"}]","items":{"$ref":"#/components/schemas/排序"}},"sponsor":{"type":"string","description":"发起人","example":"xxxx"},"systemName":{"type":"string","description":"所属系统","example":"xxx"},"taskGroup":{"type":"array","description":"任务分组","example":"["XXX","XXX"]","items":{"type":"string"}},"taskName":{"type":"array","description":"任务名称","example":"xxx","items":{"type":"string"}},"type":{"type":"integer","description":"请求类型;1待办任务;2关注任务;3收藏任务;4已办任务","format":"int32","example":4}}},"查询任务请求体(非分页)":{"title":"查询任务请求体(非分页)","type":"object","properties":{"assetId":{"type":"array","description":"固资号","example":"["12312113123231","231344821217912"]","items":{"type":"string"}},"businessGroup":{"type":"array","description":"业务组名称","example":"["xxxxx","rrrrr"]","items":{"type":"string"}},"dispatchTime":{"type":"array","description":"发起时间","example":"["xxxxx","rrrrr"]","items":{"type":"string"}},"executor":{"type":"string","description":"实际处理人","example":"xxx"},"finishTime":{"type":"array","description":"完成时间","example":"["xxxxx","rrrrr"]","items":{"type":"string"}},"id":{"type":"array","description":"代办ID","example":"["12312113123231","231344821217912"]","items":{"type":"integer","format":"int64"}},"instanceId":{"type":"array","description":"流程ID","example":"["12312113123231","231344821217912"]","items":{"type":"string"}},"listener":{"type":"string","description":"关注人","example":"xxx"},"page":{"type":"integer","description":"页码","format":"int32","example":1},"principal":{"type":"string","description":"责任人","example":"xxx"},"size":{"type":"integer","description":"单页大小","format":"int32","example":10},"sort":{"type":"array","description":"排序方式","example":"[{"age":"asc"}]","items":{"$ref":"#/components/schemas/排序"}},"sponsor":{"type":"string","description":"发起人","example":"xxxx"},"systemName":{"type":"array","description":"系统名称","example":"["xxxxx","rrrrr"]","items":{"type":"string"}},"taskGroup":{"type":"array","description":"任务组名称","example":"["xxxxx","rrrrr"]","items":{"type":"string"}},"taskName":{"type":"array","description":"任务名称","example":"xxx","items":{"type":"string"}}}},"查询催办策略配置请求体":{"title":"查询催办策略配置请求体","type":"object","properties":{"jobIdentity":{"type":"string","description":"任务标识","example":"xxx"},"page":{"type":"integer","description":"页码","format":"int32","example":1},"processId":{"type":"string","description":"流程名称","example":"xxx"},"size":{"type":"integer","description":"单页大小","format":"int32","example":10},"sort":{"type":"array","description":"排序方式","example":"[{"age":"asc"}]","items":{"$ref":"#/components/schemas/排序"}},"strategyId":{"type":"integer","description":"策略ID","format":"int32"},"systemName":{"type":"string","description":"系统名","example":"xxx"}}},"查询模版配置请求体":{"title":"查询模版配置请求体","type":"object","properties":{"page":{"type":"integer","description":"页码","format":"int32","example":1},"scenesName":{"type":"string","description":"场景名","example":"new_task/transfer_task/finish_task/daily_reminder_task/urge_task"},"size":{"type":"integer","description":"单页大小","format":"int32","example":10},"sort":{"type":"array","description":"排序方式","example":"[{"age":"asc"}]","items":{"$ref":"#/components/schemas/排序"}},"strategyId":{"type":"integer","description":"策略ID","format":"int32"},"systemName":{"type":"string","description":"系统名","example":"xxx"}}},"查询通知策略配置请求体":{"title":"查询通知策略配置请求体","type":"object","properties":{"page":{"type":"integer","description":"页码","format":"int32","example":1},"scenesName":{"type":"string","description":"场景名","example":"new_task/transfer_task/finish_task/daily_reminder_task"},"size":{"type":"integer","description":"单页大小","format":"int32","example":10},"sort":{"type":"array","description":"排序方式","example":"[{"age":"asc"}]","items":{"$ref":"#/components/schemas/排序"}},"strategyId":{"type":"integer","description":"策略ID","format":"int32"},"systemName":{"type":"string","description":"系统名","example":"xxx"}}},"模版信息":{"title":"模版信息","type":"object","properties":{"createTime":{"type":"string","description":"创建时间","format":"date-time"},"htmlTpl":{"type":"string","description":"邮件模版","example":"xxx"},"id":{"type":"integer","description":"通知模版ID","format":"int32","example":1},"scenesName":{"type":"string","description":"通知场景","example":"new_task/transfer_task/finish_task/daily_reminder_task/urge_task"},"strategyId":{"type":"integer","description":"策略ID","format":"int32"},"systemName":{"type":"string","description":"系统名","example":"xship"},"textTpl":{"type":"string","description":"文本模版","example":"xxx"},"titleTpl":{"type":"string","description":"标题模版","example":"xxx"},"updateTime":{"type":"string","description":"更新时间","format":"date-time"},"voiceTpl":{"type":"string","description":"语音模版","example":"xxx"}}},"添加任务请求体":{"title":"添加任务请求体","required":["handlerUrl","sponsor","systemName","taskName"],"type":"object","properties":{"admin":{"type":"array","description":"管理员","example":"@user代表oa用户,@group代表oa用户组,@client代表客户端,@ROLE代表角色","items":{"type":"string"}},"assetId":{"type":"string","description":"固资号","example":"xxxxx"},"businessGroup":{"type":"string","description":"业务分组","example":"xxxx"},"dispatchTime":{"type":"string","description":"发起时间","format":"date-time"},"expireTime":{"type":"string","description":"过期时间","format":"date-time"},"extraData":{"type":"string","description":"其它信息","example":"{"ip":"x.xx.xxx.xx","sn":"TSC9078231AT"}"},"extraMap":{"type":"object","description":"其它信息(map)","example":"{"ip":"x.xx.xxx.xx","sn":"TSC9078231AT"}"},"handlerUrl":{"type":"string","description":"处理链接","example":"http://www.xship.com/131323/142122/4123"},"instanceDesc":{"type":"string","description":"流程实例名称","example":"x.xx.xxx.xx|TSC9078231AT|服务器故障流程"},"instanceId":{"type":"integer","description":"流程实例ID","format":"int64","example":97708012908},"jobId":{"type":"integer","description":"任务ID","format":"int64","example":77654598733},"jobName":{"type":"string","description":"任务中文名","example":"虚拟子机负责人确认故障"},"jobType":{"type":"string","description":"任务英文名","example":"ConfirmationVirtualFailure"},"levelId":{"type":"integer","description":"任务级别","format":"int32","example":1},"listener":{"type":"array","description":"关注人","example":"[\"bob\",\"tom\"]","items":{"type":"string"}},"principal":{"type":"array","description":"责任人","example":"[\"mike\",\"lucy\"]","items":{"type":"string"}},"processId":{"type":"string","description":"流程英文名","example":"ServerFailureProcess"},"processName":{"type":"string","description":"流程中文名","example":"服务器故障流程"},"sendMessage":{"type":"boolean","description":"是否发送消息","example":true},"sponsor":{"type":"string","description":"发起人","example":"jack"},"strategyId":{"type":"integer","description":"待办通知策略ID","format":"int32"},"systemName":{"type":"string","description":"发起系统","example":"xship"},"taskGroup":{"type":"string","description":"任务分组","example":"xxxx"},"taskName":{"type":"string","description":"任务名称","example":"虚拟子机负责人确认故障"},"taskType":{"type":"integer","description":"任务类型;0普通任务;1流程任务","format":"int32","example":0}}},"添加催办策略配置请求体":{"title":"添加催办策略配置请求体","required":["ccLeader","ccListener","ccSponsor","endPoint","jobIdentity","processId","startPoint","strategyId","systemName"],"type":"object","properties":{"ccLeader":{"type":"boolean","description":"抄送leader","example":true},"ccListener":{"type":"boolean","description":"抄送关注人","example":true},"ccSponsor":{"type":"boolean","description":"抄送发起人","example":true},"endPoint":{"type":"integer","description":"催办结束点","format":"int32","example":80},"jobIdentity":{"type":"string","description":"任务标识","example":"ManualConfirmation"},"processId":{"type":"string","description":"流程英文名","example":"ServerFailureProcess"},"startPoint":{"type":"integer","description":"催办开始点","format":"int32","example":60},"strategyId":{"type":"integer","description":"策略ID","format":"int32","example":1},"systemName":{"type":"string","description":"系统名","example":"xship"}}},"添加模版配置请求体":{"title":"添加模版配置请求体","required":["htmlTpl","scenesName","strategyId","systemName","textTpl","titleTpl","voiceTpl"],"type":"object","properties":{"htmlTpl":{"type":"string","description":"html模版","example":"xxxx"},"scenesName":{"type":"string","description":"场景","example":"new_task"},"strategyId":{"type":"integer","description":"策略ID","format":"int32","example":1},"systemName":{"type":"string","description":"系统名","example":"xship"},"textTpl":{"type":"string","description":"文字模版","example":"xxxx"},"titleTpl":{"type":"string","description":"标题模版","example":"xxxx"},"voiceTpl":{"type":"string","description":"语音模板","example":"xxxx"}}},"添加通知策略配置请求体":{"title":"添加通知策略配置请求体","required":["noticeType","scenesName","strategyId","systemName"],"type":"object","properties":{"noticeType":{"type":"array","description":"通知类型","example":"[\"mail\",\"rtx\",\"wechat\"]","items":{"type":"string"}},"scenesName":{"type":"string","description":"场景","example":"new_task"},"strategyId":{"type":"integer","description":"策略ID","format":"int32","example":1},"systemName":{"type":"string","description":"系统名","example":"xship"}}},"系统请求体":{"title":"系统请求体","required":["systemName"],"type":"object","properties":{"businessGroup":{"type":"string","description":"业务分组名称","example":"xxx"},"systemName":{"type":"string","description":"系统名称","example":"xwing"}}},"转任务请求体":{"title":"转任务请求体","required":["id","transfer"],"type":"object","properties":{"id":{"type":"integer","description":"待办单号","format":"int64","example":10001},"sendMessage":{"type":"boolean","description":"是否发送消息","example":true},"transfer":{"type":"array","description":"待办人","example":"[\"alex\",\"lisa\"]","items":{"type":"string"}}}},"通知策略":{"title":"通知策略","type":"object","properties":{"createTime":{"type":"string","description":"创建时间","format":"date-time"},"id":{"type":"integer","description":"ID","format":"int32","example":1},"noticeType":{"type":"string","description":"通知方式","example":"rtx,wechat,mail"},"scenesName":{"type":"string","description":"通知场景","example":"new_task/transfer_task/finish_task/daily_reminder_task/urge_task"},"strategyId":{"type":"integer","description":"策略ID","format":"int32"},"systemName":{"type":"string","description":"系统名称","example":"xship"},"updateTime":{"type":"string","description":"更新时间","format":"date-time"}}},"通过任务ID查询任务":{"title":"通过任务ID查询任务","required":["id"],"type":"object","properties":{"id":{"type":"integer","description":"任务id","format":"int64","example":1}}}}}}

@puhaiyang
Copy link

你这个是3.0的api,作者这个现在只支持2.0的。
可以用这个版本,支持3.0的api,https://github.com/puhaiyang/swagger2word

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants