swagger-api / swagger-api/swagger-codegen
Default interface implementation : HttpStatus.NOT_IMPLEMENTED instead of HttpStatus.OK
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
It is only a proposition
default Interface implementation returns: HttpStatus.OK
it would be better to return: HttpStatus.NOT_IMPLEMENTED
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 template that generates the default interface implementation for server stubs, then check how its default HttpStatus.OK response is produced. Done means the generated default implementation returns HttpStatus.NOT_IMPLEMENTED instead, with any existing relevant generation tests updated or added.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100