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:
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-ui/index.html?configUrl=/v3/api-docs/swagger-config. In that page, I got an error:
Whitelabel Error Page This application has no configured error view, so you are seeing this as a fallback. Mon Jan 20 05:16:10 UTC 2020 [7192d9dc] There was an unexpected error (type=Not Found, status=404). No matching handler
Question is: Should I add additional configurations to my app to show API documentation?