swagger-api / swagger-api/swagger-codegen

feature request use cdi in JavaResteasyServerCodegen

Open
#2,209 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.