Releases: christianhelle/refitter
v0.6.2
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.6.2
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking--use-iso-date-format
CLI tool argument to explicitly format date query string parameters in ISO standard date format using delimiters (2023-06-15)
What's Changed
- check if query parameter is an array by @angelofb in #70
- make use of new language features by @angelofb in #72
- Introduce
--use-iso-date-format
CLI tool argument by @christianhelle in #73 - Enhanced HTTP status code 200 handling for API responses by @NoGRo in #74
- Fix DirectoryNotFoundException by @christianhelle in #77
- Fix support for spaces in
operationId
by @christianhelle in #79 - Additonal Namespaces for generated Types by @angelofb in #80
New Contributors
- @angelofb made their first contribution in #70
- @NoGRo made their first contribution in #74
- @brease-colin reported the issues #66 and #68
Full Changelog: 0.5.30...0.6.2
v0.6.1
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.6.1
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking--use-iso-date-format
CLI tool argument to explicitly format date query string parameters in ISO standard date format using delimiters (2023-06-15)
What's Changed
- check if query parameter is an array by @angelofb in #70
- make use of new language features by @angelofb in #72
- Introduce
--use-iso-date-format
CLI tool argument by @christianhelle in #73 - Enhanced HTTP status code 200 handling for API responses by @NoGRo in #74
- Fix DirectoryNotFoundException by @christianhelle in #77
- Fix support for spaces in
operationId
by @christianhelle in #79
New Contributors
- @angelofb made their first contribution in #70
- @NoGRo made their first contribution in #74
- @brease-colin reported the issues #66 and #68
Full Changelog: 0.5.30...0.6.1
v0.6.0
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.6.0
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking--use-iso-date-format
CLI tool argument to explicitly format date query string parameters in ISO standard date format using delimiters (2023-06-15)
What's Changed
- check if query parameter is an array by @angelofb in #70
- make use of new language features by @angelofb in #72
- Introduce
--use-iso-date-format
CLI tool argument by @christianhelle in #73 - Enhanced HTTP status code 200 handling for API responses by @NoGRo in #74
New Contributors
- @angelofb made their first contribution in #70
- @NoGRo made their first contribution in #74
- @brease-colin reported the issues #66 and #68
Full Changelog: 0.5.30...0.6.0
v0.5.30
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.30
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument in #25
- Fix for #26 by @guillaumeserale in #27
- Introduce Feature Usage tracking to Exceptionless in #35
- Fixes Interface generator in case the response uses a ref in YAML spec. by @Roflincopter in #42
- Fix inconsistent line endings in the generated file in #60
- Fix broken interface generated from HubSpot APIs in #64
- Add support for multipart/form-data file uploads in #65
- Remove inline namespace imports in #69
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
- @Roflincopter made their first contribution in #42
- @damianh reported the issue #57 and #58
- @brease-colin reported the issue #66 and #68
v0.5.28
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.28
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument in #25
- Fix for #26 by @guillaumeserale in #27
- Introduce Feature Usage tracking to Exceptionless in #35
- Fixes Interface generator in case the response uses a ref in YAML spec. by @Roflincopter in #42
- Fix inconsistent line endings in the generated file in #60
- Fix broken interface generated from HubSpot APIs in #64
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
- @Roflincopter made their first contribution in #42
- @damianh reported the issue #57 and #58
Full Changelog: 0.5.27...0.5.28
v0.5.27
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.27
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument by @christianhelle in #25
- Fix for #26 by @guillaumeserale in #27
- Introduce Feature Usage tracking to Exceptionless by @christianhelle in #35
- Fixes Interface generator in case the response uses a ref in yaml spec. by @Roflincopter in #42
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
- @Roflincopter made their first contribution in #42
Full Changelog: 0.1.3-alpha...0.5.27
v0.5.26
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.26
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument by @christianhelle in #25
- Fix for #26 by @guillaumeserale in #27
- Introduce Feature Usage tracking to Exceptionless by @christianhelle in #35
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
Full Changelog: 0.1.3-alpha...0.5.26
v0.5.25
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.25
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters--no-logging
CLI tool argument to disable error logging and feature usage tracking
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument by @christianhelle in #25
- Fix for #26 by @guillaumeserale in #27
- Introduce Feature Usage tracking to Exceptionless by @christianhelle in #35
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
Full Changelog: 0.1.3-alpha...0.5.25
v0.5.3
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.3
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument by @christianhelle in #25
- Fix for #26 by @guillaumeserale in #27
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
Full Changelog: 0.1.3-alpha...0.5.3
v0.5.2
Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global Refitter --version 0.5.2
Features
- Generate single file containing Refit interface and contract types from an OpenAPI spec file
- Supports OpenAPI v2 and v3
- Supports OpenAPI specifications in JSON and YAML formats
- Supports generating route, query, header, and body request parameters
--no-auto-generated-header
CLI tool argument to skip prefixing output file with header--interface-only
CLI tool argument to skip contract type generation--use-api-response
CLI Tool argument to returnIApiResponse<T>
instead ofTask<T>
--internal
CLI tool argument to generate types with theinternal
accessibility modifier--cancellation-tokens
CLI tool argument to generate the Refit interface with CancellationTokens--no-operation-headers
CLI tool argument to skip generating[Header]
parameters
What's new
- Fix missing support for Query Parameters in #6
- Fix path parameters in parent by @kgamecarter in #7
- Fix missing multipart/form-data parameters by @distantcam in #9
- Add support for kebab-string-casing parameters in #11
- Various name encoding fixes, fix multiline descriptions by @neoGeneva in #12
- Add support for generating IApiResponse as return types in #14
- Add support for both local files and URL by @yrki in #15
- Charge Target Framework to .NET 6.0 (LTS) in #18
- Add support for generating 'internal' types in #21
- Add support for using Cancellation Tokens in #23
- Add injecting header parameters by @guillaumeserale in #24
- Add --no-operation-headers CLI tool argument by @christianhelle in #25
- Fix for #26 by @guillaumeserale in #27
Contributors
- @neoGeneva made their first contribution in #12
- @distantcam made their first contribution in #9
- @kgamecarter made their first contribution in #7
- @yrki made their first contribution in #15
- @1kvin reported the issue #5
- @m7clarke reported the issue #10
- @kirides reported the issue #20. #20, and #17
- @guillaumeserale made their first contribution in #24
Full Changelog: 0.1.3-alpha...0.5.2