Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于 spring-mvc,默认的 swagger-ui 路径是 /swagger-ui.html。任何将其更改为不同的路径?生成的代码带有一个配置文件 SwaggerUiConfiguration。无论如何要在这里改变它?
如果您想使用 springfox-swagger-ui,这是不可能的。
您可以手动复制 swagger ui 资源并根据需要重命名文件。