首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >昂首阔步的UI不重定向到/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config

昂首阔步的UI不重定向到/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
EN

Stack Overflow用户
提问于 2022-11-10 06:10:42
回答 1查看 42关注 0票数 0

我使用的是springdoc-openapi-ui 1.6.4和springboot 2.7.5。

我尝试访问http://localhost:8080/swagger-ui.html,我希望URL会重定向到http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config,但它总是会重定向到http://localhost:8080/swagger-ui/index.html

我也尝试访问http://localhost:8080/swagger-ui/index.html,它不会重定向到http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config

有人能帮我把网址重定向到http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config吗?

EN

回答 1

Stack Overflow用户

发布于 2022-11-10 06:58:27

springdoc-openapi-ui升级到1.6.6解决了我的问题。

推荐者:Springdoc Swagger UI not using swagger-config

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74384804

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档