Swagger UI in prod mode #45755
Replies: 1 comment 4 replies
-
/cc @MikeEdgar (swagger-ui), @phillip-kruger (swagger-ui) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm new to Quarkus, I hope I've correctly read the docs... any advice much appreciated
I've added swagger-ui to my app and I want it available in all environments, not just in dev mode. My understanding is that I should add
quarkus.swagger-ui.always-include=true
to my properties which I have done.If I run the app with
mvn quarkus:dev
I can see in the logs that swagger-ui and openapi are included in the installed features and the /swagger-ui and /openapi endpoints workIf I run the app with
mvn quarkus:run
then swagger-ui is not installed and neither the /swagger-ui nor the /openapi endpoints workIs
quarkus:run
the right way to replicate locally what happens when the app is in production mode?My properties are
And my pom is below
`
4.0.0
org.myorg
quarko
1.0-SNAPSHOT
Beta Was this translation helpful? Give feedback.
All reactions