yapi swagger自动同步失败

mitkmikd  于 2022-04-21  发布在  Java
关注(0)|答案(0)|浏览(368)

版本号

1.8.2

什么问题

swagger自动同步失败,确认swagger json地址无误

如何复现此问题

完整错误信息
log: 定时器触发, syncJsonUrl:http://127.0.0.1:10000/v2/api-docs?group=admin,合并模式:merge
(node:94999) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '_id' of undefined
at openController.importData (/Users/fangxiong/my-yapi/vendors/server/controllers/open.js:125:35)
at process._tickCallback (internal/process/next_tick.js:178:7)
(node:94999) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 59)

什么浏览器

Chrome

什么系统(Linux, Windows, macOS)

macOS

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题