-
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
quarkus.swagger-ui.path doesn't accept environment variables as its value #4172
Comments
@dmlloyd looks like we have a new one for the environment variable issue :). |
The same configuration parameters cannot be overridden via a runner jar as well. |
The same configuration parameters cannot be overridden via a runner jar as well.
Isn't that expected? quarkus.swagger-ui.path is build time config.
|
Yes, you 're right. It works as expected in this case. |
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes (part of) quarkusio#2292 Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groundwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192, Fixes quarkusio#3888 Fixes quarkusio#3089, Fixes quarkusio#390, Fixes quarkusio#891, Fixes quarkusio#5484 Fixes quarkusio#5454
I'm currently facing the same issue, on both quarkus 1.5.2.Final and 1.6.0.CR1. Would appreciate if anyone could point me to a fix. Thanks. |
@limadelrey How did you get around this? |
@sirAlexanderT Regarding OpenAPI & Swagger UI, there's a second issue that's been already addressed by Quarkus team: #4200. Is your problem about the usage of environment variables as properties? |
Hey,
I'm using quarkus-smallrye-openapi maven dependency to take advantage of automatic OpenApi specifications and Swagger UI. In order to do that I've coded the following configurations on application.properties file:
OpenApi is working fine. However, Swagger UI is being retrieved on {{host}}/default-path (which is the default value for $PATH environment variable) when it should be retrieved by {{host}}/{{PATH}} (e.g. http://localhost:8080/swagger-ui).
This is specially important because I'm deploying this Quarkus application behind an Ingress controller on a Kubernetes cluster and Swagger UI can't aggregate Ingress path without changing its quarkus.swagger-ui.path property dynamically.
Is there any workaround?
Thank you in advance.
The text was updated successfully, but these errors were encountered: