Discuss / Java / http://localhost:8080/swagger-ui/index.html?url=/v3/api-docs 这个地址可以

http://localhost:8080/swagger-ui/index.html?url=/v3/api-docs 这个地址可以

Topic source

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

那是你的某个Filter拦截了/swagger-ui.html并且处理失败了

/swagger-ui.html会自动重定向到类似/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config的URL

当然是记住/swagger-ui.html这个URL比较简单


  • 1

Reply