swagger icon indicating copy to clipboard operation
swagger copied to clipboard

如何修改默认的路径 /swagger

Open zut opened this issue 5 years ago • 3 comments

在正式环境中, 还是需要隐藏或者关闭的

zut avatar Feb 04 '21 06:02 zut

@zut 生产环境一般是不开启,或者设置访问密码即可。不过我可以加个配置前缀。

gqcn avatar Feb 05 '21 10:02 gqcn

@zut 生产环境一般是不开启,或者设置访问密码即可。不过我可以加个配置前缀。

可以考虑加一个配置前缀, 谢谢. 有时候需要生产环境临时测试, 配置前缀+密码 安全性高很多了

zut avatar Feb 07 '21 00:02 zut

这个需求还是很有用的,有时候调试的时候需要通过nginx 代理出来

Ryanyntc2013 avatar Jun 07 '21 09:06 Ryanyntc2013