springdoc

How to display app API documentation by using springdoc-openapi-webflux-ui?

梦想的初衷 提交于 2020-02-01 05:09:04
问题 I read this https://springdoc.github.io/springdoc-openapi-demos/ documentation to use springdoc-openapi-webflux-ui. As documentation said I just added springdoc-openapi-webflux-ui library to my app: implementation('org.springdoc:springdoc-openapi-webflux-ui:1.2.26') Additionally, I customized path to API in application.yml: springdoc: swagger-ui: path: /swagger-ui.html When I start app, and go to http://localhost:8080/swagger-ui.html, it redirects me to http://localhost:8080/webjars/swagger