swagger-api / swagger-api/swagger-codegen
[C#] Support enums in request parameters
Open
Nobody has claimed this yet.
Client: C-Sharp
Feature: Enum
help wanted
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
This issue is similar to #1347, but for C# language. Currently enum types for request parameters in the swagger definition file are converted to strings in the generated C# Api classes.
Swagger-codegen version
v2.2.1
Related issues
#1347
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 reading related issue #1347 and tracing the C# generator path that produces Api classes from request parameters. Confirm how enum request parameters are represented in the generated output; done means those parameters retain their enum types instead of becoming strings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100