0

How can i access the generated swagger-ui.html ? Or index.html I cant seem to find this file in my project. Aghhhh!

Ronny Shibley
  • 2,030
  • 22
  • 25

2 Answers2

0

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

Ronny Shibley
  • 2,030
  • 22
  • 25
0

For the library setup which you have mentioned, the following will be the URL to access the UI -

PROTOCOL://HOST:PORT/CONTEXT_NAME/swagger-ui.html

Eg: http://localhost:8083/xms/swagger-ui.html
Srikanta
  • 1,145
  • 2
  • 12
  • 22