quarkus-openapi-generator icon indicating copy to clipboard operation
quarkus-openapi-generator copied to clipboard

Custom config key support for base-package

Open ricardozanini opened this issue 1 year ago • 0 comments

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: image

In this scenario,

  • quarkus.openapi-generator.codegen.spec.DEFAULT_CONFIG_KEY.base-package=my.custom.package will 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.package will 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.

ricardozanini avatar Aug 01 '24 18:08 ricardozanini