You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
操作步骤:
1:导出apifox的接口数据为,swagger2.0格式
数据如下: {"openapi":"3.0.1","info":{"title":"hippo","description":"","version":"1.0.0"},"tags":[],"paths":{"/tasks-notifications":{"get":{"summary":"获取通知&待办&个人信息","deprecated":false,"description":"获取当前用户消息数量、待办内容、个人信息","tags":[],"parameters":[{"name":"workNo","in":"query","description":"工号","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"string"},"errorCode":{"type":"string"},"errorLevel":{"type":"string"},"errorMsg":{"type":"string"},"content":{"type":"object","properties":{"tasks":{"type":"object","properties":{"count":{"type":"integer","description":"Number of pending tasks"},"data":{"type":"array","items":{"type":"object","properties":{"creatorWorkNo":{"type":"string","description":"Creator's Work Number"},"creatorName":{"type":"string","description":"Creator's Name"},"creatorAvatar":{"type":"string","description":"Creator's Avatar"},"assigneeWorkNo":{"type":"string","description":"Assignee's Work Number"},"assigneeName":{"type":"string","description":"Assignee's Name"},"assigneeAvatar":{"type":"string","description":"Assignee's Avatar"},"taskCenterCode":{"type":"string","description":"Message Code"},"title":{"type":"string","description":"Message Title"},"sourceCode":{"type":"string","description":"Source System Code"},"sourceName":{"type":"string","description":"Source System Name"},"isAgent":{"type":"string","description":"Is Agent Approval"},"url":{"type":"string","description":"Redirect URL"}},"required":["creatorWorkNo","creatorName","creatorAvatar","assigneeWorkNo","assigneeName","assigneeAvatar","taskCenterCode","title","sourceCode","sourceName","isAgent","url"]}}}},"notifications":{"type":"object","properties":{"count":{"type":"integer","description":"Number of notifications"}}},"personInfo":{"type":"object","properties":{"avatar":{"type":"string","description":"Avatar"},"displayName":{"type":"string","description":"For formal employees: Name (Nickname)\nFor informal employees: Name (Work Number)"},"briefs":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title"},"titleEn":{"type":"string","description":"Title in English"},"linkUrl":{"type":"string","description":"Redirect URL, supports internal/external path access and full domain access"}}}}}}}}},"required":["success","errorCode","content"]}}}}},"security":[]}}},"components":{"schemas":{},"securitySchemes":{}},"servers":[]}
2、导入到rap平台
3、提交显示成功,但是返回后的页面没有导入的数据
The text was updated successfully, but these errors were encountered:
操作步骤:
1:导出apifox的接口数据为,swagger2.0格式
数据如下:
{"openapi":"3.0.1","info":{"title":"hippo","description":"","version":"1.0.0"},"tags":[],"paths":{"/tasks-notifications":{"get":{"summary":"获取通知&待办&个人信息","deprecated":false,"description":"获取当前用户消息数量、待办内容、个人信息","tags":[],"parameters":[{"name":"workNo","in":"query","description":"工号","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"string"},"errorCode":{"type":"string"},"errorLevel":{"type":"string"},"errorMsg":{"type":"string"},"content":{"type":"object","properties":{"tasks":{"type":"object","properties":{"count":{"type":"integer","description":"Number of pending tasks"},"data":{"type":"array","items":{"type":"object","properties":{"creatorWorkNo":{"type":"string","description":"Creator's Work Number"},"creatorName":{"type":"string","description":"Creator's Name"},"creatorAvatar":{"type":"string","description":"Creator's Avatar"},"assigneeWorkNo":{"type":"string","description":"Assignee's Work Number"},"assigneeName":{"type":"string","description":"Assignee's Name"},"assigneeAvatar":{"type":"string","description":"Assignee's Avatar"},"taskCenterCode":{"type":"string","description":"Message Code"},"title":{"type":"string","description":"Message Title"},"sourceCode":{"type":"string","description":"Source System Code"},"sourceName":{"type":"string","description":"Source System Name"},"isAgent":{"type":"string","description":"Is Agent Approval"},"url":{"type":"string","description":"Redirect URL"}},"required":["creatorWorkNo","creatorName","creatorAvatar","assigneeWorkNo","assigneeName","assigneeAvatar","taskCenterCode","title","sourceCode","sourceName","isAgent","url"]}}}},"notifications":{"type":"object","properties":{"count":{"type":"integer","description":"Number of notifications"}}},"personInfo":{"type":"object","properties":{"avatar":{"type":"string","description":"Avatar"},"displayName":{"type":"string","description":"For formal employees: Name (Nickname)\nFor informal employees: Name (Work Number)"},"briefs":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Title"},"titleEn":{"type":"string","description":"Title in English"},"linkUrl":{"type":"string","description":"Redirect URL, supports internal/external path access and full domain access"}}}}}}}}},"required":["success","errorCode","content"]}}}}},"security":[]}}},"components":{"schemas":{},"securitySchemes":{}},"servers":[]}
2、导入到rap平台
3、提交显示成功,但是返回后的页面没有导入的数据
The text was updated successfully, but these errors were encountered: