Releases: fsprojects/SwaggerProvider
Releases · fsprojects/SwaggerProvider
v3.1.0 - Repo Assisted
- feat: Add
IgnoreParseErrorsparameter to OpenApiClientProvider (#300) - feat: Add
SchemaReaderErrorsproperty to OpenApiClientProvider (fixes #160) (#327) - fix: include response body in OpenApiException message (closes #250) (#324)
- fix: unwrap F#
Option<T>intoParamfor header/path/cookie parameters (closes #140) (#322) - fix: 2xx response handling in v2 and v3 OperationCompilers (#313)
- fix:
$0in path parameter values treated as regex back-reference (#310) - fix: Option types in form data not being unwrapped (issue #214) (#298)
- perf: avoid redundant cache invalidation timers in GetOrAdd (#318)
- perf: increase type provider cache timeout from 30s to 5 minutes (#329)
- hk: update FSharp.TypeProviders.SDK (enum custom attribute bug fix) (#330)
- test: add v3 DefinitionCompiler type-mapping unit tests (#331)
- test: add UniqueNameGenerator unit tests (#319)
- test: add unit tests for RuntimeHelpers module (#295)
- ci: add concurrency group to CI workflow to cancel redundant builds (#309)
2.0.0 - Tasks under the hood
- F# 6 task{} instead of async{} under the hood - #200
- BREAKING:
ProvidedApiClientBase.CallAsyncreturnstaskinstead ofasync - BREAKING:
taskCE wrap all exceptions inAggregateException(withOpenApiExceptioninside) - Model enums as
string,int32orboolean(Fixed #186 ) - Add
Acceptheader to all requests (Fixed #196) - Supported requests with
octet-streambody content #203 - Added missing properties to OpenApiException #222
- Changed raise to calling Reraise() extension method to preserve the call stack #230
- Microsoft.OpenApi (1.6.10)
- FSharp.SystemTextJson (1.2.42)
- Removed the
System.Net.Httpdependency (#221) - fix: accept "default" as "ok response" fallback (#223)
- Minor performance tweaks (#233)
.NET 6
OpenApiClientProvider and .NET Core 3.1 support
- Migration to new Type Provider SDK #88 #125
- SwaggerParser moved to runtime assembly (and exposed as API to library users) - #90
- Added runtime dependency on YamlDotNet
- Removed dependency on FSharp.Data/JsonValue (replaced by JSON.NET)
- Added full-init constructor for provided types #91
- Option/Nullable types for not required properties #93
Http.fsis moved toSwaggerProvider.Runtime.dllandnicePascalNameapplied to provided types, because FSI cannot load types with special characters in name (like[and]) - fix for #94- Provide namespaces as nested types #96
- Added ability to generate multiple clients (one per controller) This feature is turned off by default and is controlled by
IgnoreControllerPrefixparameter #45 - Supported parsing of schemas with inheritance in types defined inside operation parameters
- Added Async & Task-based calls for the Operations #21
- Do not reference design-time assembly when install from nuget #104
- Migration to
HttpClient-based communication #105 #100 - Fixed null reference in query params #126
- OpenApiClientProvider #117
- TP parameter names are unified #129
- Support REST convention with pluralized entities in mode with IgnoreOperationId=true #121
- Fixed null refs in optional headers #123
- Delete method incorrectly cased #120
- File handling - upload/download files as
IO.Stream#131 - DateTimeOffset as a default
date-timetype #133 - Custom OpenApiException instead of HttpRequestException 134
- Fixed null reference for schemas without Components definitions
- UUID/Guid support #138