codemonkey codemonkey - 1 year ago 524
Java Question

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.


The Swagger configuration is in config/apidoc/

You could simply remove the line that excludes the prod profile: