OpenAPITools / OpenAPITools/openapi-generator
java-camel server generator generates the @Component annotation by default
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
This isn't a bug necessarily, but it would be great if we could make this configurable, then the generated routes can be used in applications that are built with other frameworks too :) I might be missing something here, please let me know if I am. Thanks!
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 reading modules/openapi-generator/src/main/resources/java-camel-server/api.mustache at the referenced annotation. Trace how generator options reach this template and identify the existing generated-output tests, if any. Done means the @Component annotation can be configured and generated routes work for applications using other frameworks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100