Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I enable the swagger ui on a jhipster app in prod profile?

I'd like to be able to see the swagger rest api documentation in my jhipster app, even while it is running under the prod profile. Currently it only shows in the dev profile and I'm not sure where this is configured.

like image 511
codemonkey Avatar asked Nov 16 '15 00:11

codemonkey


1 Answers

In the latest release add ths code to application.prod.yml

profiles:
  include: 
    -swagger
like image 126
nash Avatar answered Nov 01 '22 12:11

nash