Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing Swagger Documentation with JHipster

Tags:

jhipster

I have generated an app server only through jhipster using only.

yo jhipster --skip-client

It had generated all the necessary api calls I needed however upon accessing

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

I ended on a 404. I was under the impression that swagger is included however it cant seem to be accessed, although the swagger api endpoints is available.

like image 427
user962206 Avatar asked Jun 06 '17 13:06

user962206


1 Answers

You can't since you are only generating the rest apis. if you want to see the api-docs follow the instructions mentioned here

Once you have succesfully cloned the said repository

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

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

it should look like something like thisenter image description here

like image 150
KyelJmD Avatar answered Nov 10 '22 07:11

KyelJmD