Open
Description
Description
Cancellation support in OpenApiClientProvider
.
Repro steps
Please provide the steps required to reproduce the problem
-
Use a provider according this page: https://fsprojects.github.io/SwaggerProvider/#/OpenApiClientProvider
-
Generated client contains methods without a support for cancellation tokens
Expected behavior
Generated methods accept CancellationToken
instance.
Actual behavior
It is not possible to provide my own instance of CancellationToken
.
Affected Type Providers
- SwaggerClientProvider
- OpenApiClientProvider
Related information
- Operating system - macOS Ventura
- .NET Runtime, CoreCLR or Mono Version - .NET 6 SDK