codemonkey codemonkey - 2 years ago 681
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.

Answer Source

The Swagger configuration is in config/apidoc/

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download