OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.9k stars 6.58k forks source link

[REQ] Decouple java-camel generator from Spring Boot dependencies #18343

Open drmaniac opened 7 months ago

drmaniac commented 7 months ago

The existing java-camel generator's tight integration with Spring Boot limits its usability in non-Spring Boot Camel projects. To increase flexibility, consider the following options:

Option 1: New "Plain Camel" Generator

Option 2: Refactor Existing Generator

Modify the current java-camel generator to offer options:

Benefits:

wing328 commented 7 months ago

Thanks for the suggestion.

I prefer option 2 to add an option to optionally enable spring boot integration.