更新时间:2022-02-08 18:27:52
最后我完全忽略了默认重定向:
In the end I completely ignore the default redirect:
swagger-ui.html
->`swagger-ui/index.html?url=/v3/api-docsswagger-ui.html
-> `swagger-ui/index.html?url=/v3/api-docs并实现了我自己的:
docs
->swagger-ui/index.html?url=MY_PREFIX/v3/api-docs
这样我就不需要改变任何东西,一切都使用默认设置.
This way I don't need to change anything and everything works with default settings.