- fix: update ProvidedTypes.fs (#235)
- FSharp.Data utilities update (#238)
- Updated custom serialization example to SwaggerProvider 2.0 (#239)
- F# 6 task{} instead of async{} under thee hood - #200
- BREAKING:
ProvidedApiClientBase.CallAsync
returnstask
instead ofasync
- BREAKING:
task
CE wrap all exceptions inAggregateException
(withOpenApiException
inside) - Model enums as
string
,int32
orboolean
(Fixed #186 ) - Add
Accept
header to all request (Fixed #196) - Supported requests with
octet-stream
body 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.Http
dependency (#221) - fix: accept "default" as "ok response" fallback (#223)
- Minor performance tweaks (#233)
- SharpYaml 2.0.0
- Format code using Fantomas
- Dependencies update
- Target .NET 6
- Microsoft.OpenApi v1.3.1
- Migration to System.Text.Json #176
- Fix for 'FS3033: Payload is not supported' #181
- Drop
net46
support - Dependencies update
- Correctly serialize Guid [] as query parameter #192
- OpenApiProvider: Dictionary support #174
- Avoid NullReferenceException on rare case that response is nothing. #162
- Dependencies update
- WebException handling #161
- Cache, yet one more fix... #158
- Cache fix part 2 #155
- Caching update #144
- Better autocomplete in IDEs
- Dependencies update #143
- OpenApiClientProvider
- .NET Core 3.1 support
- UUID/Guid support #138
- Fixed null reference for schemas without Components definitions
- Delete method incorrectly cased #120
- File handling - upload/download files as
IO.Stream
#131 - DateTimeOffset as a default
date-time
type #133 - Custom OpenApiException instead of HttpRequestException 134
- Support REST convention with pluralized entities in mode with IgnoreOperationId=true #121
- Fixed null refs in optional headers #123
- TP parameter names are unified #129
- 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.fs
is moved toSwaggerProvider.Runtime.dll
andnicePascalName
applied 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
IgnoreControllerPrefix
parameter #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
- Fix probing locations #97
- Removed caching and dependency on FSharp.Configuration context #84
- Better support for optional parameters #82
- Newtonsoft.Json v10.0.2
- Supported Mono 5.0.1.1
ToString
is overridden for each generated type #52- Removed reference from
Swagger.Runtime.dll
toYamlDotNet.dll
- Supported
allOf
composition withproperties
definition in the same SchemaObject - #72 - Supported wrappers around primitive types - APIs-guru/openapi-directory#98
- No runtime dependency on YamlDotNet
- NuGet dependency on FSharp.Core
- Improved URL construction #66
- Added NTLM auth for schema request #50
- Allow to configure protocol together with host name #41
- FIXED: SwaggerProvider and byte array #46
- Supported Newtonsoft.Json v9.0.1
- FIXED: props and fields name collision during quotes compilation #38
- FIXED: 201 status codes should be used as a return type for operations #34
- FIXED: Collisions in provided type names #27
- BREAKING CHANGE: Instance methods for provided operations with configurable
Host
,Headers
andmodifiable web requests
- Configurable operation name (
IgnoreOperationId
parameter) - Support of unordered type definitions in schema (for Azure APIs)
- Allow for custom headers per-request #22
- Migration to
FsUnitTyped
+ better testing
- Added support of anonymous types generations - #24
- Added support of recursively dependent type definitions
- Added support of
$refs
in DefinitionProperty - #23 - Added support of operations without
operationId
- Better XML docs
- Updated JSON.NET version up to v8.0.3
- Added support of model composition in path's response schema
- Added support of composite types like ("type": [ "string", "null" ])
- Added ability to override Host property at runtime - #15
- Fixed generation of obsolete provided methods - fsprojects/FSharp.TypeProviders.SDK#70
- Fixed code generation for PetStore schema (Removed deprecated attributes from methods)
- Updated JSON.NET version up to v8.0.2
- Migration to .NET 4.5
- Fixed docs and bug in
SwaggerProvider.fsx
- Added support of schemes in YAML format
AssemblyResolve
handler that resolve location of 3rd party dependencies- Added dependencies on
Newtonsoft.Json
NuGet package
- Bug fixes
- Fixed bug in the query builder for POST and PUT requests
- Added tests for PUT & DELETE requests
- Supported serialization of basic data types for passing in query
- Fixed bugs in query builder logic
- Added support of nice names for provided parameters
- Added support of JSON serialization for properties with nice names
- Auto Content-Type:application/json header to POST queries when it is supported
- Fixed bug in float compilation
- Added communication tests for data transferring to the server
- Improved speed: Added caching for generated types
- Improved support of Swashbuckle generated schemas
- Fixed bug in compilation to IL
- Fixed bug in POST calls (Content-Length is set to 0)
- Fixed bug in definition type names beatification
- Fixed type coerce bug in provided methods
- Fixed NuGet package
- Added Swashbuckle.OWIN.API Server with REST API and communication/deserialization tests
- Added support of object composition
- Added support of Dictionaries
- Added tests for all samples from Swagger specification
- Implemented new Swagger JSON schema parser
- Added tests for parsing 200+ real-world Swagger schemas
- Added instantiation of Swagger Definitions
- Added invocation of Swagger Operations
- Added global HTTP header option to the Swagger Provider constructor
- Added Swagger Definition and Operations compilation
- Initial release