swagger-api / swagger-api/swagger-codegen
Create interfaces instead of abstract classes for JAX-RS
Open
Nobody has claimed this yet.
Enhancement: General
help wanted
Server: Java
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
The generated service api are based on abstract classes, not interface. We all know that abstract class is something to avoid in Java, and interface provides much more flexibility. So please make the generated codes interfaces instead of abstract classes
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 JAX-RS templates that generate service APIs and inspect the current abstract-class output. Compare the generated result with the requested interface-based design, then verify that the generated Java service API remains valid and compatible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100