swagger-api / swagger-api/swagger-core
[bug] Integer enum support
Open
Nobody has claimed this yet.
backlog
- Dominant language
- Java
- Stars
- 7.5k
- Forks
- 2.3k
- Avg merge
- 18h 1m
- Merged PRs (30d)
- 10
Description
I found we response enum in VO as string enum. Is there any approach to response int enum?
related issue: https://github.com/springdoc/springdoc-openapi/issues/709
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 reviewing the integer enum request in this issue and the related springdoc-openapi issue 709. Determine the expected OpenAPI response representation and how swagger-core currently handles string enums; done means integer-valued enums are represented correctly without regressing existing enum behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100