OpenAPITools / OpenAPITools/openapi-generator
[REQ] Decouple java-camel generator from Spring Boot dependencies
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing java-camel generator and documenting where its Spring Boot dependencies and generated integrations are defined. Compare the proposed plain-Camel generator with refactoring the existing generator, then define the selected design's dependency boundaries and verify that generated projects support the intended non-Spring Boot use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100