ApiCodeGenerator.OpenApi.Refit 3.0.0-rc.21

This is a prerelease version of ApiCodeGenerator.OpenApi.Refit.
dotnet add package ApiCodeGenerator.OpenApi.Refit --version 3.0.0-rc.21                
NuGet\Install-Package ApiCodeGenerator.OpenApi.Refit -Version 3.0.0-rc.21                
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="ApiCodeGenerator.OpenApi.Refit" Version="3.0.0-rc.21">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ApiCodeGenerator.OpenApi.Refit --version 3.0.0-rc.21                
#r "nuget: ApiCodeGenerator.OpenApi.Refit, 3.0.0-rc.21"                
#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.
// Install ApiCodeGenerator.OpenApi.Refit as a Cake Addin
#addin nuget:?package=ApiCodeGenerator.OpenApi.Refit&version=3.0.0-rc.21&prerelease

// Install ApiCodeGenerator.OpenApi.Refit as a Cake Tool
#tool nuget:?package=ApiCodeGenerator.OpenApi.Refit&version=3.0.0-rc.21&prerelease                

NuGet Version GitHub License Codacy coverage

The ApiCodeGenerator extension module implements code generation for the Refit library.

Installation

  1. Add the ApiCodeGenerator.OpenApi.Refit and Refit packages to your project.
  2. Add a document describing the API (in json or yaml format) and a corresponding nswag file with the same name (format description).
  3. In the nswag file, select the OpenApiToRefitClient generator.
  4. Rebuild the project.

Now, an interface with the name specified in the nswag file (by default, it matches the document file name) will be available in the project.

You can read more about other generation settings in the ApiCodeGenerator project description.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0-rc.21 48 10/22/2024
3.0.0-rc.19 65 10/15/2024
3.0.0-rc.10 43 9/25/2024