http://localhost:8080/spring-xml-swagger/swagger-ui.html is not working
scchaitha opened this issue · 3 comments
Can you pls check the readme file, I am not able to get to access the swagger-ui url.
However the open api docs,url is working. http://localhost:8080/spring-xml-swagger/v2/api-docs
I am trying to understand how the spring xml context is working with swagger. I am planning to hook up the swagger in the already spring app context xml. Any help here would be really appreciated.
I tried to update the dispatch-servlet.xml.
<mvc:resources location="classpath:/META-INF/resources/webjars/springfox-swagger-ui/" mapping="/swagger-ui/index.html"/>
<mvc:resources location="classpath:/META-INF/resources/webjars/" mapping="/webjars/**"/>
But still does now work. Can you pls take a look at this? Once this is good. I will integrate the application with Swagger for open api documentation. This will be a complete POC I can show at my company.
Actually it works. Pls change the Readme file to update the swagger UI url to the one below for spring-xml-swagger project
Swagger UI
http://localhost:8080/spring-xml-swagger/swagger-ui/index.html
Thanks for reporting!