reimer-atb opened a new issue, #8334:
URL: https://github.com/apache/camel-quarkus/issues/8334

   ### Describe the feature here
   
   I would like `quarkus-maven-plugin` to generate code to a separate java 
package for each OpenApi spec file.
   
   Background:
   
   I consume from multiple services, which are defined in multiple OpenApi spec 
files (.yaml).
   
   I can set `quarkus.camel.openapi.codegen.locations` to a comma-separated 
list of spec files, and code gets generated ok.
   
   But `quarkus.camel.openapi.codegen.model-package` only accepts a single 
value, so all generated files from all OpenAPi spec files end up in the same 
package.
   
   Now 2 of the OpenApi spec files define a schema with the same name but 
slightly different structure. And code generation then just overwrites the 
first definition with the second. So I can only handle responses from one 
service, but not the other.
   
   ---
   
   Topic in Zulip: [#camel-quarkus > REST OpenApi: different package for each 
OpenApi spec 
file?](https://camel.zulipchat.com/#narrow/channel/257302-camel-quarkus/topic/REST.20OpenApi.3A.20different.20package.20for.20each.20OpenApi.20spec.20file.3F/with/575248481)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to