-
Notifications
You must be signed in to change notification settings - Fork 102
Config Key warning but functionality works #1035
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
Comments
I don't know how Quarkus identifies a property, but from our side this property is being ingested. @gastaldi do you know how we get rid of these warnings? |
might be a @radcortez question |
Configuration set in the To be known to Quarkus, a configuration must be mapped in a It also seems the preferred way of this extension to retrieve configuration is to use the programmatic API, instead of the type safe way of Quarkus configuration, which I would recommend. |
@radcortez in summary, we have to review our configuration to use |
@ricardozanini i see why its because just a Map is used and things are looked up out of the map: https://github.com/quarkiverse/quarkus-openapi-generator/blob/main/client/deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/CodegenConfig.java Because Quarkus can't figure out the real config it throws this warning. |
@melloware yea we should change that. |
Our Please let me know if you cannot express the required use cases with the current functionality and I'll help. |
@radcortez many thanks!
|
Signed-off-by: Ricardo Zanini <[email protected]>
Signed-off-by: Ricardo Zanini <[email protected]>
Signed-off-by: Ricardo Zanini <[email protected]> Co-authored-by: Ricardo Zanini <[email protected]>
For the generator configuration I am getting this warning from Quarkus even though the functionality appears to be working in my application.properties
Unrecognized configuration key "quarkus.openapi-generator.codegen.spec.openapi_json.config-key" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
My
application.properties
setting is below whereopenapi_json
is theopenapi.json
file being read.quarkus.openapi-generator.codegen.spec.openapi_json.config-key=bcp_notification_client
I got that information from:
https://docs.quarkiverse.io/quarkus-openapi-generator/dev/client.html#config-key
Quarkus 3.19.1 and latest version of generator
The text was updated successfully, but these errors were encountered: