swagger-api / swagger-api/swagger-codegen
[C#] Generate async methods with CancellationToken support
Open
Nobody has claimed this yet.
General: Suggestion
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
More of a feature request than an issue. Would it be possible to generate async methods with CancellationToken support?
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
The issue names no files or tests. Start by locating the C# client generator templates and the async-method generation path; determine how generated methods should expose and pass CancellationToken, then verify generated clients include the requested cancellation support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100