OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
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
Create a separate generator focused on producing Camel routes using only core Apache Camel DSL.
No Spring or other external framework dependencies.
Option 2: Refactor Existing Generator
Modify the current java-camel generator to offer options:
Core Camel DSL: Generate routes without Spring-specific components or annotations.
Spring Boot Integration (optional): Enable the use of Spring Boot features if desired.
Benefits:
Enhanced Flexibility: Developers can choose the level of integration with Spring Boot.
Supports broader use cases for the Apache Camel generator
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: