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

codemonkey picture codemonkey · Nov 16, 2015 · Viewed 7.2k times · Source

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.

Answer

nash picture nash · Jan 5, 2018

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

profiles:
  include: 
    -swagger