【问题标题】:Swagger UI hide api-docs URLSwagger UI 隐藏 api-docs URL
【发布时间】:2025-07-20 10:45:02
【问题描述】:

我将 Springfox 2.9.2 用于 Swagger UI。

是否可以使用 Configuration 类中的 Docket 从 swagger-ui.html 标题中隐藏 /v2/api-docs URL?

【问题讨论】:

    标签: swagger-ui springfox


    【解决方案1】:

    找不到如何隐藏它,但您可以将其更改为您想要的任何内容。 Why is v2/api-docs the default URL when using springfox and Swagger2?

    【讨论】: