NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #2573 most downloaded on NuGet
Refitter is a CLI tool for generating a C# REST API Client using the Refit library from OpenAPI specifications.
Latest stable
2.3.1
Last release 1 months ago
17 Oct 2026
Release timing varies
gaps range from 8 days to 3 months
Most releases are documented
notes for 52 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
118 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Fix the line endings of generated code by @paule96 in #1323
Full Changelog: 2.3.0...2.3.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/christianhelle/refitter/compare/2.3.0...2.3.1
Build deprecated schemas used by operations with warnings as errors by @christianhelle in https://github.com/christianhelle/refitter/pull/1294
Full Changelog: https://github.com/christianhelle/refitter/compare/2.2.1...2.3.0
Skip IAsyncEnumerable for primitive streaming schemas by @christianhelle in #1243
Full Changelog: 2.2.0...2.2.1
Full Changelog: https://github.com/christianhelle/refitter/compare/2.2.0...2.2.1
Fix code scanning workflow permissions alerts by @christianhelle in #1218
Full Changelog: 2.1.3...2.2.0
Full Changelog: https://github.com/christianhelle/refitter/compare/2.1.3...2.2.0
Pass CancellationToken to async calls to resolve SonarCloud S8949 issues by @christianhelle in https://github.com/christianhelle/refitter/pull/1209
Full Changelog: https://github.com/christianhelle/refitter/compare/2.1.2...2.1.3
Full Changelog: 2.1.2...2.1.3
Fix RCE attribute injection in generated Refit clients ( GHSA-3fhm-p725-h3g3 , GHSA-58x9-vjvp-6mx8 , GHSA-p32v-8v8j-j534 ) by @christianhelle in #1178
Full Changelog: 2.1.1...2.1.2
Full Changelog: https://github.com/christianhelle/refitter/compare/2.1.1...2.1.2
Update dependency AutoMapper to 16.2.0 by @renovate[bot] in https://github.com/christianhelle/refitter/pull/1186
Full Changelog: https://github.com/christianhelle/refitter/compare/2.1.0...2.1.1
Refactor GenerateCommand into focused modules and stabilize package-reference builds by @christianhelle in https://github.com/christianhelle/refitter/
Full Changelog: https://github.com/christianhelle/refitter/compare/2.0.0...2.1.0
Full Changelog: 2.0.0...2.1.0
Breaking changes and Migration Guide for v2.0.0 by @christianhelle in #1009
Full Changelog: 1.7.3...2.0.0
Full Changelog: https://github.com/christianhelle/refitter/compare/1.7.3...2.0.0
JSON value could not be converted (#300) (@Xeevis)Microsoft.Extensions.ApiDescription.Server (#635) (@qrzychu)Refitter v2.0.0 introduces 2 breaking changes that require action if you're upgrading from v1.7.3 or earlier. Both changes fix serious bugs and include straightforward migration paths.
The .refitter authentication setting has been renamed and restructured:
"generateAuthenticationHeader" (boolean)"authenticationHeaderStyle" (enum: None, Method, Parameter)Users with custom authentication headers in their .refitter files must update their configuration. Old JSON keys are silently ignored, causing authentication header generation to be disabled even if your config specifies otherwise.
Before (v1.7.3):
{
"openApiPath": "./swagger.json",
"namespace": "MyApi",
"generateAuthenticationHeader": true
}
After (v2.0.0):
{
"openApiPath": "./swagger.json",
"namespace": "MyApi",
"authenticationHeaderStyle": "Method"
}
Valid authenticationHeaderStyle values:
"None" — No authentication header generation (default)"Method" — Add [Headers("Authorization: Bearer")] to each method"Parameter" — Add authorizationToken parameter to each method.refitter files for "generateAuthenticationHeader""generateAuthenticationHeader": true → "authenticationHeaderStyle": "Method" or "Parameter""generateAuthenticationHeader": false → "authenticationHeaderStyle": "None" (or remove the setting)The Refitter.SourceGenerator now uses Roslyn's context.AddSource() API to generate code in-memory instead of writing physical .g.cs files to disk. Generated code is still compiled into your assembly but is not persisted to the file system.
Users of Refitter.SourceGenerator who:
.g.cs files./Generated folderRefit flowing transitively from Refitter.SourceGeneratorwill need to adjust their workflow.
This fix resolves critical issues:
Microsoft.Extensions.ApiDescription.ServerGenerated code remains accessible through your IDE without cluttering the file system:
.refitter file → Select "View Generated Code".refitter file → Select "Peek Generated Code" (requires Roslyn extension).refitter file → Select "View Generated Files"This is the recommended approach for most users.
Refitter.SourceGenerator keeps its Refit dependency private. Add a direct package reference to Refit in every consuming project, and add Refit.HttpClientFactory separately if you use generated dependency-injection helpers such as ConfigureRefitClients().
<ItemGroup>
<PackageReference Include="Refitter.SourceGenerator" Version="2.0.0" />
<PackageReference Include="Refit" Version="10.1.6" />
<PackageReference Include="Refit.HttpClientFactory" Version="10.1.6" />
</ItemGroup>
If you do not use the generated DI helpers, omit Refit.HttpClientFactory.
If you need disk files for version control, inspection, or custom build processes:
Using Refitter CLI:
dotnet tool install -g Refitter
refitter ./swagger.json --output ./GeneratedClient.cs --namespace "MyApi"
Using Refitter MSBuild:
<PackageReference Include="Refitter.MSBuild" Version="2.0.0" />
Add .refitter files to your project. MSBuild generates and writes physical files to the configured outputFolder.
If your CI/CD pipeline references generated files:
./Generated/**/*.g.cs).g.cs from .gitignore (if using MSBuild) or to ignore them (if using Source Generator)Refitter v2.0.0 upgrades the OpenAPI parser from Microsoft.OpenApi.Readers 1.x to 3.x (OasReader 3.7.0.20). This is a major version upgrade with materially different schema interpretation.
Users upgrading from v1.7.3 may see different generated C# code even without changing their OpenAPI specifications. This is not a breaking change in the Refitter API, but a behavioral change in code generation caused by the parser upgrade. The branch proves the parser changed and documents how to migrate; it does not prove full 1.7.3-vs-v2.0 behavioral equivalence across a broad real-world corpus.
Microsoft.OpenApi 3.x interprets these schema aspects differently than 1.x:
null type interpretationoneOf/anyOf discriminator resolution$ref path handlingcomponents sectionAction required: After upgrading Refitter to v2.0.0:
Treat these steps as the recommended mitigation for the parser upgrade: regenerate, inspect the diff, and validate your client with tests before shipping.
If you're using the CLI:
# Regenerate with new parser
refitter ./swagger.json --output ./GeneratedClient.cs --namespace "MyApi"
# Review the diff
git diff GeneratedClient.cs
# Run tests
dotnet test
# Commit
git add GeneratedClient.cs && git commit -m "Regenerate client with OpenAPI parser v3.x"
If you're using Source Generator or MSBuild, rebuild your project and review the generated changes the same way.
.refitter files: replace generateAuthenticationHeader with authenticationHeaderStyleRefitter.SourceGenerator: add a direct Refit package reference (and Refit.HttpClientFactory if using generated DI helpers).g.cs files from version control (if using Source Generator)These features remain fully backward compatible:
.refitter file format (except auth setting above)v2.0.0 also includes several new opt-in features with safe defaults:
"propertyNamingPolicy": "PreserveOriginal" to keep original OpenAPI property names"openApiPaths": ["./swagger1.json", "./swagger2.json"] to merge multiple specifications"contractTypeSuffix": "Dto" for custom contract type naming"generateJsonSerializerContext": true for ahead-of-time compilationIf you encounter issues during migration or have questions, please:
Add support for systems running only .NET 10.0 (without .NET 8.0 or 9.0) in Refitter.MSBuild by @christianhelle in https://github.com/christianhelle/r
Full Changelog: https://github.com/christianhelle/refitter/compare/1.7.2...1.7.3
Improve Immutable Records ergonomics #844
Implemented enhancements:
Fixed bugs:
Merged pull requests:
Full Changelog: 1.7.1...1.7.2
Improved handling of optional parameters \#448 by @christianhelle
JsonStringEnumConverter prohibits usage of Json-SourceGenerationContext #778Full Changelog: https://github.com/christianhelle/refitter/compare/1.7.0...1.7.1
JsonStringEnumConverter prohibits usage of Json-SourceGenerationContext (#778) (@dbhjoh)Fix Multipart file array support by @christianhelle in https://github.com/christianhelle/refitter/pull/784
[JsonConverter(typeof(JsonStringEnumConverter))] from generated contracts by @christianhelle in https://github.com/christianhelle/refitter/pull/786Full Changelog: https://github.com/christianhelle/refitter/compare/1.6.5...1.7.0
Do not remove colon from url paths, verify they're not present in operation names by @eoma-knowit in #765
Full Changelog: 1.6.4...1.6.5
Full Changelog: https://github.com/christianhelle/refitter/compare/1.6.4...1.6.5
Fix SonarCloud maintainability issues - eliminate code duplication and improve code quality in https://github.com/christianhelle/refitter/pull/753
Full Changelog: https://github.com/christianhelle/refitter/compare/1.6.3...1.6.4
Fix MSBuild task so that the generated code is included in the compilation by @christianhelle in https://github.com/christianhelle/refitter/pull/745
Full Changelog: https://github.com/christianhelle/refitter/compare/1.6.2...1.6.3
docs: add @SWarnberg as a contributor for bug by @allcontributors[bot] in https://github.com/christianhelle/refitter/pull/714
Full Changelog: https://github.com/christianhelle/refitter/compare/1.6.1...1.6.2
Update dependency Refitter.SourceGenerator to 1.6.0 by @renovate in https://github.com/christianhelle/refitter/pull/704
Full Changelog: https://github.com/christianhelle/refitter/compare/1.6.0...1.6.1
fix missing schema for dictionary keys \#697 @kirides
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
See Full Changelog
Use fully qualified type name in Class template by @velvolue in https://github.com/christianhelle/refitter/pull/686
Full Changelog: https://github.com/christianhelle/refitter/compare/1.5.5...1.5.6
Using CollectionFormats other than Multi \#640 (@ebarnard)
Full Changelog: https://github.com/christianhelle/refitter/compare/1.5.4...1.5.5
Adding security schemes to the api interface generator \#106
Full Changelog: https://github.com/christianhelle/refitter/compare/1.5.3...1.5.4
Naming properties problem \#641
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
Full Changelog: https://github.com/christianhelle/refitter/compare/1.5.2...1.5.3
Fix date formatting for date-time types https://github.com/christianhelle/refitter/pull/600
Full Changelog: https://github.com/christianhelle/refitter/compare/1.5.0...1.5.2
Proper support for multipart form \#595 (jaroslaw-dutka)
Implemented enhancements:
Fixed bugs:
Merged pull requests:
\[Apizr\] Deprecated Optional package removed from code & doc \#539 (JeremyBP)
Full Changelog: https://github.com/christianhelle/refitter/compare/1.4.0...1.5.0
Thanks for the great tool! \#522
Implemented enhancements:
Merged pull requests:
Add support for generating multiple files per Refit interface
Full Changelog: https://github.com/christianhelle/refitter/compare/1.3.0...1.4.0
Use Azure App Insights for telemetry \#490 (christianhelle)
Implemented enhancements:
Fixed bugs:
Merged pull requests:
House keeping - Update dependencies and optimize usings \#483 (christianhelle)
Merged pull requests:
Add support for generating multiple files
Full Changelog: https://github.com/christianhelle/refitter/compare/1.2.0...1.3.0
Generate Apizr flavored Refit interfaces
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 1.2.0
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>--use-apizr CLI tool argument to generate Apizr specific Refit interfaces and configuration code--use-dynamic-querystring-parameters CLI tool argument to wrap multiple query parameters into a single complex one--contract-only CLI tool to only generate contracts/models without any Refit interfacesFull Changelog: https://github.com/christianhelle/refitter/compare/1.1.3...1.2.0
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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 1.1.3
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/1.1.1...1.1.3
Support generating immutable records \#407
Implemented enhancements:
Merged pull requests:
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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 1.1.1
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/1.0.1...1.1.1
NSwag v14.0.8 \#397 ([renovate[bot]](https://github.com/apps/renovate))
Merged pull requests:
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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 1.0.1
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...1.0.1
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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 1.0.0
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...1.0.0
remove-unused-schema not working for collection-type responses (#352) (@kirides)Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.9
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.9
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
IObservable<T> support by @janfolbrechtThis 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.9.8
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.--use-observable-response CLI tool argument to return IObservable<T>matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.8
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.7
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.7
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.6
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238generateNullableReferenceTypes by @christianhelle in https://github.com/christianhelle/refitter/pull/304Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.6
generateNullableReferenceTypes (#304) (@christianhelle)generateNullableReferenceTypes (#302) (@christianhelle)Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.5
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.5
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.4
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.4
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.2
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.2
Add new options to .refitter file format docs \#274 (christianhelle)
Merged pull requests:
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.9.0
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schema--skip-default-additional-properties CLI tool argument to skip default additional properties--operation-name-generator CLI tool argument to NSwag IOperationNameGenerator implementation to use.matchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.7...0.9.0
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.7
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schemamatchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Task<ApiResponse> is Returned for Void Methods in Generator by @mortenlaursen in https://github.com/christianhelle/refitter/pull/238Full Changelog: https://github.com/christianhelle/refitter/compare/0.8.5...0.8.7
Ensure Task\ is Returned for Void Methods in Generator \#238 (mortenlaursen)
Implemented enhancements:
Merged pull requests:
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.5
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schemamatchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Full Changelog: https://github.com/christianhelle/refitter/compare/0.7.5...0.8.5
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.4
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is set--trim-unused-schema CLI tool argument to remove unreferenced components schema to keep the generated output to a minimum--keep-schema CLI tool argument to specify a collection of regular expressions to force to keep matching schema. This is used together with --trim-unused-schemamatchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197--trim-unused-schema & --keep-schema by @kirides in https://github.com/christianhelle/refitter/pull/199Action<IHttpClientBuilder>? parameter in ConfigureRefitClients() by @Noblix in https://github.com/christianhelle/refitter/pull/215Full Changelog: https://github.com/christianhelle/refitter/compare/0.7.5...0.8.4
--trim-unused-schema & --keep-schema (#199) (@kirides)Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.3
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is setmatchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163namespace settings from codeGeneratorSettings by @christianhelle in https://github.com/christianhelle/refitter/pull/197Full Changelog: https://github.com/christianhelle/refitter/compare/0.7.5...0.8.3
namespace settings from codeGeneratorSettings (#197) (@christianhelle)Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.2
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} template. This can also be used to customize the Execute() method name in the interfaces generated when --multiple-interfaces ByEndpoint is setmatchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163Full Changelog: https://github.com/christianhelle/refitter/compare/0.7.5...0.8.2
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.1
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} templatematchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163Full Changelog: https://github.com/christianhelle/refitter/compare/0.7.5...0.8.1
Mark deprecated operations by @angelofb in https://github.com/christianhelle/refitter/pull/154
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.8.0
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. This may be either ByEndpoint or ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluation--optional-nullable-parameters CLI tool argument to make non-required query parameters to optional parameters in Refit interface--operation-name-template CLI tool argument to append a prefix or suffix to the {operationName} templatematchPath option in example .refitter file in README by @christianhelle in https://github.com/christianhelle/refitter/pull/146--settings-file usage by @christianhelle in https://github.com/christianhelle/refitter/pull/152--no-logging is specified by @christianhelle in https://github.com/christianhelle/refitter/pull/153--operation-name-template command line argument by @angelofb in https://github.com/christianhelle/refitter/pull/164--optional-nullable-parameters CLI argument by @christianhelle in https://github.com/christianhelle/refitter/pull/163Full Changelog: https://github.com/christianhelle/refitter/compare/0.7.5...0.8.0
--optional-nullable-parameters CLI argument (#163) (@christianhelle)--operation-name-template command line argument (#164) (@angelofb)--settings-file parameter. (#149) (@Ekkeir)partial by default (#161) (@kirides)This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this: `bash dotnet tool install
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.7.5
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. May be one of ByEndpoint, ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluationFull Changelog: https://github.com/christianhelle/refitter/compare/0.7.3...0.7.5
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this: `bash dotnet tool install
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.7.4
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. May be one of ByEndpoint, ByTag--settings-file CLI tool argument to use a .refitter format file and override all other arguments--skip-validation CLI tool argument to ignore all validation errors and attempt to generate code anyway--match-path CLI tool argument to only include Paths that match the provided regular expression. May be set multiple times--tag CLI tool argument to only include Endpoints that contain this tag. May be set multiple times and result in OR'ed evaluationFull Changelog: https://github.com/christianhelle/refitter/compare/0.7.3...0.7.4
content-encoding: gzip fails (#135) (@christianhelle)This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this: `bash dotnet tool install
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.7.3
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. May be one of ByEndpoint, ByTag--settings-file CLI tool argument to use a .refitter format file and override all other argumentsFull Changelog: https://github.com/christianhelle/refitter/compare/0.7.2...0.7.3
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this: `bash dotnet tool install
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.7.2
--no-auto-generated-header CLI tool argument to skip prefixing output file with <auto-generated> header--interface-only CLI tool argument to skip contract type generation--use-api-response CLI Tool argument to return IApiResponse<T> instead of Task<T>--internal CLI tool argument to generate types with the internal 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)--multiple-interfaces CLI tool argument to generate a Refit interface for each endpoint. May be one of ByEndpoint, ByTagFull Changelog: https://github.com/christianhelle/refitter/compare/0.7.0...0.7.2
Rename source generator output to use .refitter file and replace extension with .g.cs \#94 (christianhelle)
Implemented enhancements:
One column per quarter.