quarkus-openapi-generator
quarkus-openapi-generator copied to clipboard
Custom config key support for base-package
Discussed in https://github.com/quarkiverse/quarkus-openapi-generator/discussions/711
Originally posted by Nexey April 26, 2024
It seems that quarkus.openapi-generator.codegen.spec.<filename>.base-package doesn't support custom config keys yet.
For instance:
In this scenario,
-
quarkus.openapi-generator.codegen.spec.DEFAULT_CONFIG_KEY.base-package=my.custom.packagewill properly generate the Api interfaces and the models in the "my.custom.package" package -
quarkus.openapi-generator.codegen.spec.CUSTOM_CONFIG_KEY.base-package=my.custom.packagewill generate the files in the default package (which would be something like "org.openapi.quarkus.DEFAULT_CONFIG_KEY")
Is this expected behavior?
Thanks in advance.