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
20.6k stars 6.29k forks source link

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

Open drmaniac opened 2 months ago

drmaniac commented 2 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 2 months ago

Thanks for the suggestion.

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