-
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
Impossible to change OpenApi document URL via application.properties #2756
Comments
machi1990
added a commit
to machi1990/quarkus
that referenced
this issue
Jun 10, 2019
machi1990
added a commit
to machi1990/quarkus
that referenced
this issue
Jun 10, 2019
machi1990
added a commit
to machi1990/quarkus
that referenced
this issue
Jun 10, 2019
machi1990
added a commit
to machi1990/quarkus
that referenced
this issue
Jun 11, 2019
mswiderski
pushed a commit
to mswiderski/quarkus
that referenced
this issue
Jun 13, 2019
patriot1burke
added a commit
to patriot1burke/quarkus
that referenced
this issue
Jun 14, 2019
root path docs fix imports fix poms and typos doc suggestions Add mp rest-client tck configuration Introduce handling for mp/uri in accordance to spec Fixes: quarkusio#2795 Remove misleading sentence from Kubernetes / ap4k guide The guide will updated when dekorateio/dekorate#227 is implemented and the new version included into Quarkus Implement mock mailer by default on dev/test fix(quarkusio#2789): fix Jackson version issue The oder of import in the bom is important, we need to import Jackson first before RESTEasy. After this, exluding and importing Jackson in the quarkus-smallrye-openapi extention is useless. Arc - correct circular dependency check to detect self-injection as well, added test. feat(openapi): Allows OpenAPI path to contain segments e.g /api/openapi/ Fixes quarkusio#2756 Arc - Implement inheritance of scopes for beans. register reflective classes from bean archive index by providing the index as part of the reflective class build item Document InjectionPointTransformer. Arc - register certain CDI components under BuildContext so extensions can use that. Modify SpringDIProcessor to make use of this. Subclasses/client proxies - skip delegation if not constructed yet - resolves quarkusio#2774 Docs - CDI guide - remove unnecessary dummy constructor feat(agroal): Adds a configuration option to enable datasource metrics Fixes quarkusio#2820 Quarkus bypasses Nexus and downloads artefacts directly from maven central Fix title levels in Undertow reference guide Remove two ArC injection warnings Update to smallrye-jwt-1.1 Moved common stuff to panache-common-deployment, ported `@GenerateBridge` to non-rx panache Added two finals Skip racey TCK test This is due to eclipse/microprofile-rest-client#203 Undertow 2.0.21.Final Better error reporting if test resource fails to start Remove license headers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you add a property
quarkus.smallrye-openapi.path
to change an OpenApi doc location (I don't like /openapi personally) it fails if you specify something likeError is:
Expected behavior
OpenApi document is downloaded
Actual behavior
Error 500
To Reproduce
Steps to reproduce the behavior:
quarkus.smallrye-openapi.path=/api/openapi
line to this fileObserve the error
Configuration
Environment (please complete the following information):
java -version
:Additional context
I think that the problem is that you don't take into account this configuration property while generating OpenApi file and creating the following constants:
You probably need to add config path property to the generated doc file name, therefore it should look like:
The text was updated successfully, but these errors were encountered: