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
微服务模式下,生产环境禁用swagger #6100
Comments
zj |
礼貌的问一下 zj是什么意思 |
EightMonth
pushed a commit
to EightMonth/jeecg-boot
that referenced
this issue
May 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:3.6.2
前端版本:vue3版
问题描述:
微服务模式下,生产环境直接访问gateway路径 会暴露swagger的接口列表信息。
怎么能像非微服务,在Swagger2Config加@Profile({"dev","test"}),即可禁用
截图&代码:
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: