-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[openapi] Add Ability to Configure Swagger UI #5639
Comments
If you're familiar with Swagger UI, that could be a nice first issue to start contributing! |
To be honest, my first contact with swagger was thanks to quarkus! :) |
@gsmet, what approach would you like to implement for configuring Swagger UI ? Swagger UI accepts configuration parameters in four locations.
Thanks |
Hi @dmlloyd, Thanks |
Fewer dependencies is better, but other than that, I don't have an opinion. The most important thing is that it's correct (meaning, all URL components are correctly encoded). |
Wouldn't |
Oh wait, wouldn't it work to just have the user add a If so, I would say let's just document it properly. I don't think it's a big problem if the file is only used in dev mode but still present in the prod application. |
I'd like to configure swagger-ui to display the request duration. It's just one tiny line of configuration. I'm new to Quarkus, but I was hoping I could just put I also tried adding a I even tried making an Any updates on this or known workarounds? |
I can configure Swagger UI via URL query params, but would be nice if I could configure some params in
application.properties
file, like thedocExpansion
param for example.swagger oficial doc: https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/
The text was updated successfully, but these errors were encountered: