Accessing Swagger documentation with JHipster

I created an app server only through jhipster using only.

yo jhipster --skip-client

      

It created all the required api calls that I need, but when accessing

http://localhost:8080/swagger-ui/index.html

      

I ended up with 404. I was under the impression that swagger is enabled, but it looks like it is not available, although there are api available.

+3


source to share


1 answer


You cannot, as you are only generating the rest of the apis. if you want to see the api-docs follow the instructions given here

Once you have successfully cloned the specified repository

open dist / index.html and just paste the source there



http: // localhost: 8080 / v2 / api-docs

it should look something like this: enter image description here

+6


source







All Articles