-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
🐛 [BUG] #10897
Comments
当前 Issue 未检测到标题,请规范填写,谢谢! The title of the current issue is not detected, please fill in according to the specifications, thank you! |
您好,请问解决了吗? |
今天刚碰到这个问题,因为后端项目没启动,后端项目运行再openAPI就行 |
先试试你的json链接浏览器中不能不打开,路径要swagger.json结尾,比如:http://127.0.0.1:5133/swagger/v1/swagger.json, |
检查schemaPath路径对了没,我也是遇到这个问题,排查发现是因为路径 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug 描述
const { info } = openAPIData;
^
TypeError: Cannot destructure property 'info' of 'openAPIData' as it is null.
在初始化后,进行了去国际化操作;然后使用openapi插件生成前端接口代码,报错
📷 复现步骤 | Recurrence steps
初始化项目模板,就只进行了移除国际化操作
🏞 期望结果 | Expected results
报错了没有在seevices目录下没有生成相应的接口
💻 复现代码 | Recurrence code
© 版本信息
🚑 其他信息
The text was updated successfully, but these errors were encountered: