swagger-api / swagger-api/swagger-codegen
feature request use cdi in JavaResteasyServerCodegen
Open
Nobody has claimed this yet.
Enhancement: Feature
Server: Java
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to have an option to inject the service delegate in the api class using cdi for JavaResteasyServerCodegen this way it is easier to integrate with cdi.
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 at JavaResteasyServerCodegen and trace how the generated API class obtains its service delegate. Define the CDI injection option and its expected generated output, then verify that Java Resteasy server generation still works with the option both enabled and disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100