OpenAPITools / OpenAPITools/openapi-generator
[REQ] Kotlin Enum.values() to be replaced
Open
Nobody has claimed this yet.
Enhancement: Feature
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
Kotlin Warnings
Describe the solution you'd like
'Enum.values()' is recommended to be replaced by 'Enum.entries' since 1.9
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
No files, templates, entry points, or tests are named. Start by searching the repository for Kotlin Enum.values() usages, identify which generated Kotlin targets they affect, and then find the corresponding generator tests. Done means the applicable usages are replaced with Enum.entries and the affected generation tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100