How can i access the generated swagger-ui.html ? Or index.html I cant seem to find this file in my project. Aghhhh!
0
votes
Please paste some code so that we can understand the problem better.
– Sampada
Also, have you downloaded the swagger-dist from github? Depending on the version you want to use, it will be a link like this - github.com/swagger-api/swagger-ui/tree/master/dist
– Sampada
I just want to access the files generated in webjars. No code will explain my problem.
– Ronny Shibley
This is exactly what i ended up doing. I thought there would be a better way to override swagger-ui.html
– Ronny Shibley
Please add it as an answer to your own question so that it can help other. Thanks.
– Sampada
2 Answers
0
votes
I ended up pulling the swagger-ui dist files from git
https://github.com/swagger-api/swagger-ui/tree/master/dist
I placed them inside public directory and modified swagger-ui.html