swagger-api / swagger-api/swagger-codegen
C#: Add support for collectionFormats for query string parameters
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, all collections, arrays and lists that are sent as a query string parameter get formatted as a comma separated list of strings and do not support any other collectionFormats. See here.
I've made some preliminary modifications here but do not currently have time to make all the changes to unit tests and samples for a proper pull request.
Related Java/Android Pull Request#893
Related Java Issue#484
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 with modules/swagger-codegen/src/main/resources/csharp/api.mustache around line 221 and review the preliminary changes linked in the issue. Then locate the related C# unit tests and samples, adding coverage for the supported collectionFormats and verifying generated query parameters use the selected format.
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
- 38/100