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
Related information
- Operating system - macOS Ventura
- .NET Runtime, CoreCLR or Mono Version - .NET 6 SDK
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
CancellationTokeninstance.Actual behavior
It is not possible to provide my own instance of
CancellationToken.Affected Type Providers
Related information