Refitter.Core
1.5.0-preview.65
This is a prerelease version of Refitter.Core.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Refitter.Core --version 1.5.0-preview.65
NuGet\Install-Package Refitter.Core -Version 1.5.0-preview.65
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Refitter.Core" Version="1.5.0-preview.65" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Refitter.Core" Version="1.5.0-preview.65" />
<PackageReference Include="Refitter.Core" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Refitter.Core --version 1.5.0-preview.65
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Refitter.Core, 1.5.0-preview.65"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Refitter.Core@1.5.0-preview.65
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Refitter.Core&version=1.5.0-preview.65&prerelease
#tool nuget:?package=Refitter.Core&version=1.5.0-preview.65&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
To use the RefitGenerator class, you need to follow these steps:
- Install the
Refitter.CoreNuGet package in your project. - Create an instance of the
RefitGeneratorSettingsclass, which contains the settings used to configure the generator. You need to set theOpenApiPathproperty to the path of your OpenAPI specification file or a URL. - Create an instance of the
RefitGeneratorclass by calling theCreateAsyncmethod and passing in theRefitGeneratorSettingsinstance. - Call the
Generate()method on theRefitGeneratorinstance to generate the Refit clients and interfaces based on the OpenAPI specification. This method returns the generated code as a string.
Here's an example of how to use the RefitGenerator class:
using Refit;
using Refitter.Core;
// Create an instance of the RefitGeneratorSettings class
var settings = new RefitGeneratorSettings
{
OpenApiPath = "Relative or absolute path to .json or .yaml local file or a URL to a .json or .yaml file"
};
// Create an instance of the RefitGenerator class
var generator = await RefitGenerator.CreateAsync(settings);
// Generate the Refit clients and interfaces and get the generated code as a string
var generatedCode = await generator.Generate();
// Use the generated code in your project
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- NSwag.CodeGeneration.CSharp (>= 14.2.0)
- NSwag.Core.Yaml (>= 14.2.0)
- OasReader (>= 1.6.16.15)
- System.Text.Json (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Refitter.Core:
| Package | Downloads |
|---|---|
|
Minicon.GetMyInvoices.Client
Core functionality for the GetMyInvoices Client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.7.0 | 255 | 11/6/2025 |
| 1.7.0-preview.86 | 139 | 11/6/2025 |
| 1.6.5 | 476 | 10/6/2025 |
| 1.6.5-preview.85 | 127 | 10/6/2025 |
| 1.6.5-preview.84 | 130 | 10/6/2025 |
| 1.6.5-preview.83 | 132 | 10/6/2025 |
| 1.6.5-preview.81 | 128 | 10/6/2025 |
| 1.6.4 | 257 | 9/23/2025 |
| 1.6.4-preview.80 | 131 | 9/20/2025 |
| 1.6.3 | 459 | 9/18/2025 |
| 1.6.3-preview.79 | 258 | 9/17/2025 |
| 1.6.3-preview.78 | 114 | 9/13/2025 |
| 1.6.3-preview.77 | 139 | 9/11/2025 |
| 1.6.2 | 2,970 | 8/18/2025 |
| 1.6.2-preview.76 | 134 | 8/13/2025 |
| 1.6.1 | 8,006 | 7/8/2025 |
| 1.6.1-preview.75 | 131 | 7/8/2025 |
| 1.6.0 | 3,922 | 6/17/2025 |
| 1.6.0-preview.74 | 307 | 6/10/2025 |
| 1.5.6 | 4,262 | 6/7/2025 |
| 1.5.6-preview.73 | 95 | 5/31/2025 |
| 1.5.5 | 16,006 | 5/4/2025 |
| 1.5.5-preview.70 | 96 | 5/30/2025 |
| 1.5.5-preview.69 | 172 | 4/30/2025 |
| 1.5.4 | 2,768 | 4/26/2025 |
| 1.5.3 | 6,011 | 3/30/2025 |
| 1.5.3-preview.68 | 310 | 3/23/2025 |
| 1.5.3-preview.67 | 111 | 1/30/2025 |
| 1.5.2 | 12,469 | 1/29/2025 |
| 1.5.1 | 1,522 | 1/25/2025 |
| 1.5.1-preview.66 | 101 | 1/25/2025 |
| 1.5.0 | 883 | 1/19/2025 |
| 1.5.0-preview.65 | 119 | 12/8/2024 |
| 1.5.0-preview.64 | 99 | 12/7/2024 |
| 1.5.0-preview.63 | 108 | 12/7/2024 |
| 1.4.1 | 8,978 | 11/20/2024 |
| 1.4.1-preview.62 | 142 | 11/4/2024 |
| 1.4.0 | 6,378 | 10/14/2024 |
| 1.4.0-preview.61 | 94 | 10/7/2024 |
| 1.3.2 | 3,740 | 9/23/2024 |
| 1.3.2-preview.60 | 99 | 9/23/2024 |
| 1.3.1 | 294 | 9/20/2024 |
| 1.3.0 | 3,903 | 9/14/2024 |
| 1.2.1-preview.59 | 111 | 9/13/2024 |
| 1.2.1-preview.58 | 113 | 9/11/2024 |
| 1.2.1-preview.57 | 120 | 9/11/2024 |
| 1.2.1-preview.56 | 129 | 9/9/2024 |
| 1.2.1-preview.55 | 105 | 9/2/2024 |
| 1.2.1-preview.54 | 119 | 8/29/2024 |
| 1.2.0 | 4,335 | 8/12/2024 |
| 1.2.0-preview.53 | 91 | 8/4/2024 |
| 1.2.0-preview.52 | 111 | 7/29/2024 |
| 1.1.3 | 5,679 | 7/19/2024 |
| 1.1.3-preview.51 | 101 | 7/19/2024 |
| 1.1.2 | 625 | 7/17/2024 |
| 1.1.2-preview.50 | 115 | 7/16/2024 |
| 1.1.2-preview.49 | 97 | 7/11/2024 |
| 1.1.1 | 1,627 | 7/6/2024 |
| 1.1.1-preview.48 | 128 | 7/4/2024 |
| 1.1.1-preview.47 | 108 | 7/1/2024 |
| 1.1.1-preview.46 | 121 | 6/28/2024 |
| 1.1.0.45-preview | 176 | 6/25/2024 |
| 1.0.2 | 4,469 | 6/13/2024 |
| 1.0.1 | 1,094 | 6/7/2024 |
| 1.0.0 | 10,207 | 5/3/2024 |
| 0.9.9.44-preview | 196 | 4/29/2024 |
| 0.9.9 | 9,799 | 3/7/2024 |
| 0.9.8 | 10,150 | 2/27/2024 |
| 0.9.7 | 3,641 | 2/7/2024 |
| 0.9.6 | 3,305 | 1/29/2024 |
| 0.9.5 | 2,491 | 1/15/2024 |
| 0.9.4.43-preview | 175 | 1/15/2024 |
| 0.9.4 | 911 | 1/12/2024 |
| 0.9.3.42-preview | 179 | 1/10/2024 |
| 0.9.2 | 271 | 1/10/2024 |
| 0.9.1 | 1,534 | 1/9/2024 |
| 0.9.0 | 813 | 1/9/2024 |
| 0.8.7.41-preview | 180 | 1/3/2024 |
| 0.8.7.40-preview | 212 | 12/20/2023 |
| 0.8.7 | 2,709 | 12/18/2023 |
| 0.8.6.39-preview | 192 | 12/14/2023 |
| 0.8.6.38-preview | 182 | 12/14/2023 |
| 0.8.6 | 2,688 | 12/11/2023 |
| 0.8.5 | 3,575 | 11/23/2023 |
| 0.8.4 | 4,561 | 11/7/2023 |
| 0.8.3 | 2,193 | 10/31/2023 |
| 0.8.2 | 4,732 | 10/9/2023 |
| 0.8.1 | 1,207 | 10/4/2023 |
| 0.8.0 | 1,510 | 9/23/2023 |
| 0.7.5 | 2,981 | 9/7/2023 |
| 0.7.4 | 325 | 9/6/2023 |
| 0.7.3.37-preview | 272 | 8/25/2023 |
| 0.7.3.36-preview | 226 | 8/25/2023 |
| 0.7.3.35-preview | 271 | 8/21/2023 |
| 0.7.3.34-preview | 231 | 8/15/2023 |
| 0.7.3.33-preview | 238 | 8/12/2023 |
| 0.7.3 | 2,443 | 8/26/2023 |
| 0.7.2.32-preview | 259 | 8/7/2023 |
| 0.7.2 | 4,160 | 8/7/2023 |
| 0.7.1.31-preview | 267 | 8/2/2023 |
| 0.7.1.30-preview | 252 | 8/2/2023 |
| 0.7.1.29-preview | 254 | 8/1/2023 |
| 0.7.1 | 1,292 | 8/3/2023 |
| 0.7.0.28-preview | 241 | 7/28/2023 |
| 0.7.0.27-preview | 208 | 7/28/2023 |
| 0.7.0.26-preview | 249 | 7/27/2023 |
| 0.7.0.23-preview | 247 | 7/27/2023 |
| 0.7.0.22-preview | 243 | 7/27/2023 |
| 0.7.0.21-preview | 202 | 7/27/2023 |
| 0.7.0.20-preview | 201 | 7/27/2023 |
| 0.7.0 | 959 | 7/31/2023 |
| 0.6.3 | 432 | 7/22/2023 |
| 0.6.2 | 6,873 | 6/22/2023 |
| 0.6.1 | 661 | 6/20/2023 |
| 0.6.0 | 923 | 6/15/2023 |
| 0.5.30 | 1,148 | 6/12/2023 |
| 0.5.29 | 272 | 6/12/2023 |
| 0.5.28 | 659 | 6/10/2023 |
| 0.5.27 | 2,512 | 5/24/2023 |
| 0.5.26 | 2,260 | 5/11/2023 |
| 0.5.25 | 350 | 5/10/2023 |
| 0.5.3 | 1,228 | 5/5/2023 |
| 0.5.2 | 1,504 | 5/2/2023 |
| 0.5.1 | 306 | 5/2/2023 |
| 0.5.0 | 1,198 | 4/28/2023 |
| 0.4.2 | 1,363 | 4/24/2023 |
| 0.4.1 | 5,030 | 4/3/2023 |
| 0.4.0 | 1,527 | 3/24/2023 |
| 0.3.17 | 367 | 3/24/2023 |
| 0.3.16 | 1,030 | 3/22/2023 |
| 0.3.4 | 364 | 3/22/2023 |
| 0.3.3 | 1,075 | 3/17/2023 |
| 0.3.2 | 586 | 3/16/2023 |
| 0.3.1 | 629 | 3/14/2023 |
| 0.3.0 | 418 | 3/14/2023 |
| 0.2.4-alpha | 2,353 | 3/1/2023 |
| 0.2.3-alpha | 501 | 2/27/2023 |
| 0.2.2-alpha | 1,013 | 2/25/2023 |
| 0.2.1-alpha | 291 | 2/25/2023 |