NSwag.CodeGeneration.CSharp 12.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NSwag.CodeGeneration.CSharp --version 12.0.0
                    
NuGet\Install-Package NSwag.CodeGeneration.CSharp -Version 12.0.0
                    
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="NSwag.CodeGeneration.CSharp" Version="12.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NSwag.CodeGeneration.CSharp" Version="12.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NSwag.CodeGeneration.CSharp" />
                    
Project file
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 NSwag.CodeGeneration.CSharp --version 12.0.0
                    
#r "nuget: NSwag.CodeGeneration.CSharp, 12.0.0"
                    
#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 NSwag.CodeGeneration.CSharp@12.0.0
                    
#: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=NSwag.CodeGeneration.CSharp&version=12.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NSwag.CodeGeneration.CSharp&version=12.0.0
                    
Install as a Cake Tool

NSwag: The Swagger API toolchain for .NET and TypeScript

Product 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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  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 tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 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.

NuGet packages (46)

Showing the top 5 NuGet packages that depend on NSwag.CodeGeneration.CSharp:

Package Downloads
NSwag.Commands

NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript

Be.Vlaanderen.Basisregisters.AspNetCore.Swagger.ReDoc

Swagger ReDoc documentation.

FastEndpoints.ClientGen

CSharp & Typescript client generator for FastEndpoints.

Refitter.Core

Core library used by the Refitter CLI tool for generating a C# REST API Client using the Refit library.

RUA.MailTplApi.Cient

Package Description

GitHub repositories (8)

Showing the top 8 popular GitHub repositories that depend on NSwag.CodeGeneration.CSharp:

Repository Stars
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
dotnetcore/WebApiClient
A REST API library with better functionality, performance, and scalability than refit
notifo-io/notifo
Multi channel notification service for collaboration tools, e-commerce, news service and more.
riganti/dotvvm
Open source MVVM framework for Web Apps
christianhelle/refitter
A tool for generating Refit interfaces and contracts from OpenAPI (Swagger) specifications
christianhelle/apiclientcodegen
A collection of Visual Studio code generators for Swagger / OpenAPI specification files
aws/aws-dotnet-deploy
Opinionated tooling that simplifies deployment of .NET applications to AWS.
christianhelle/httpgenerator
Generate .http files from OpenAPI (Swagger) specifications
Version Downloads Last Updated
14.6.3 288,381 11/20/2025
14.6.2 52,490 11/5/2025
14.6.1 69,268 9/30/2025
14.6.0 39,943 9/18/2025
14.5.0 305,052 8/2/2025
14.4.0 686,974 4/28/2025
14.3.0 304,289 3/29/2025
14.2.0 974,220 11/19/2024
14.1.0 988,414 7/17/2024
14.0.8 342,106 6/12/2024
14.0.7 614,633 3/26/2024
14.0.6 2,585 3/26/2024
14.0.5 1,945 3/26/2024
14.0.4 15,966 3/23/2024
14.0.3 460,728 2/4/2024
14.0.2 157,335 1/17/2024
14.0.1 33,575 1/12/2024
14.0.0 61,698 1/3/2024
14.0.0-preview012 19,614 12/8/2023
14.0.0-preview011 717 12/8/2023
14.0.0-preview010 24,741 11/15/2023
14.0.0-preview009 11,328 10/31/2023
14.0.0-preview008 9,682 10/4/2023
14.0.0-preview007 800 10/2/2023
14.0.0-preview006 845 9/28/2023
14.0.0-preview005 759 9/27/2023
14.0.0-preview004 826 9/27/2023
14.0.0-preview003 902 9/26/2023
14.0.0-preview002 826 9/26/2023
14.0.0-preview001 851 9/26/2023
13.20.0 1,250,491 8/15/2023
13.19.0 546,084 5/4/2023
13.18.5 3,565 5/3/2023
13.18.4 2,951 5/3/2023
13.18.3 6,410 5/2/2023
13.18.2 679,721 12/15/2022
13.18.0 238,389 11/17/2022
13.17.0 226,733 9/16/2022
13.16.1 445,990 6/2/2022
13.16.0 61,422 5/19/2022
13.15.10 778,794 2/22/2022
13.15.9 37,180 2/10/2022
13.15.8 5,504 2/10/2022
13.15.7 27,365 2/1/2022
13.15.6 5,863 1/31/2022
13.15.5 285,256 12/15/2021
13.15.4 8,212 12/14/2021
13.15.3 12,131 12/10/2021
13.15.2 2,551 12/10/2021
13.15.1 12,562 12/9/2021
13.15.0 7,150 12/7/2021
13.14.8 46,315 12/1/2021
13.14.7 8,593 11/25/2021
13.14.5 10,638 11/23/2021
13.14.4 24,358 11/15/2021
13.14.3 6,164 11/12/2021
13.14.2 2,682 11/12/2021
13.14.1 2,901 11/12/2021
13.14.0 12,030 11/11/2021
13.13.2 320,830 8/6/2021
13.13.1 4,520 8/5/2021
13.13.0 4,917 8/4/2021
13.12.1 85,065 7/22/2021
13.12.0 3,934 7/20/2021
13.11.3 105,727 6/4/2021
13.11.2 7,819 6/2/2021
13.11.1 108,721 5/7/2021
13.11.0 2,852 5/7/2021
13.10.9 102,321 4/9/2021
13.10.8 657,190 3/8/2021
13.10.7 23,047 2/27/2021
13.10.6 21,964 2/23/2021
13.10.5 6,426 2/21/2021
13.10.4 4,646 2/19/2021
13.10.3 104,023 2/17/2021
13.10.2 226,522 2/5/2021
13.10.1 77,800 1/15/2021
13.10.0 3,292 1/15/2021
13.9.4 228,641 11/19/2020
13.9.3 4,496 11/17/2020
13.9.2 4,511 11/13/2020
13.9.1 2,934 11/12/2020
13.9.0 3,994 11/11/2020
13.8.2 170,459 9/30/2020
13.8.1 4,214 9/28/2020
13.8.0 2,973 9/28/2020
13.7.4 111,243 9/16/2020
13.7.3 8,588 9/14/2020
13.7.2 3,151 9/14/2020
13.7.1 4,993 9/11/2020
13.7.0 67,562 8/3/2020
13.6.2 102,859 6/26/2020
13.6.1 59,411 6/11/2020
13.6.0 34,463 5/29/2020
13.5.0 57,298 5/8/2020
13.4.2 78,289 4/17/2020
13.4.1 131,158 4/16/2020
13.4.0 3,132 4/16/2020
13.3.0 224,540 3/20/2020
13.2.5 35,108 3/6/2020
13.2.4 3,649 3/6/2020
13.2.3 67,109 2/12/2020
13.2.2 143,103 1/17/2020
13.2.1 6,593 1/13/2020
13.2.0 132,000 12/18/2019
13.1.6 91,650 11/22/2019
13.1.5 28,234 11/13/2019
13.1.4 3,522 11/13/2019
13.1.3 128,437 10/10/2019
13.1.2 83,539 9/27/2019
13.1.1 3,686 9/27/2019
13.1.0 7,986 9/26/2019
13.0.6 96,766 8/22/2019
13.0.5 37,647 8/16/2019
13.0.4 30,349 7/5/2019
13.0.3 12,167 6/28/2019
13.0.2 17,441 6/21/2019
13.0.1 6,997 6/13/2019
13.0.0 5,911 6/11/2019
13.0.0-20190606.3 661 6/6/2019
13.0.0-20190531.9 601 5/31/2019
13.0.0-20190531.8 603 5/31/2019
13.0.0-20190531.5 608 5/31/2019
12.3.1 72,261 5/21/2019
12.3.0 134,216 5/21/2019
12.2.5 100,745 5/3/2019
12.2.4 10,721 4/26/2019
12.2.3 7,859 4/23/2019
12.2.2 5,227 4/23/2019
12.2.1 5,312 4/23/2019
12.2.0 6,926 4/21/2019
12.1.0 52,708 4/2/2019
12.0.20 13,462 3/30/2019
12.0.19 3,980 3/29/2019
12.0.18 7,512 3/24/2019
12.0.17 50,014 3/20/2019
12.0.16 22,885 3/19/2019
12.0.15 26,633 3/5/2019
12.0.14 13,429 2/14/2019
12.0.13 80,878 1/25/2019
12.0.12 13,285 1/16/2019
12.0.11 21,969 1/9/2019
12.0.10 9,498 1/3/2019
12.0.9 27,945 12/20/2018
12.0.8 5,053 12/19/2018
12.0.7 5,055 12/13/2018
12.0.6 4,506 12/12/2018
12.0.5 11,304 12/7/2018
12.0.4 6,300 11/30/2018
12.0.3 8,470 11/27/2018
12.0.2 3,864 11/27/2018
12.0.1 5,309 11/26/2018
12.0.0 8,615 11/16/2018
11.20.1 79,158 10/3/2018
11.20.0 5,915 9/29/2018
11.19.2 35,518 9/14/2018
11.19.1 5,204 9/7/2018
11.19.0 6,735 9/5/2018
11.18.7 11,329 8/25/2018
11.18.6 11,098 8/15/2018
11.18.5 4,831 8/10/2018
11.18.4 7,725 8/9/2018
11.18.3 4,443 8/8/2018
11.18.2 4,949 8/6/2018
11.18.1 5,093 8/3/2018
11.18.0 9,709 7/30/2018
11.17.21 9,988 7/13/2018
11.17.20 5,279 7/11/2018
11.17.19 5,435 7/2/2018
11.17.18 5,498 6/28/2018
11.17.17 4,803 6/26/2018
11.17.16 6,374 6/22/2018
11.17.15 27,280 6/14/2018
11.17.14 8,584 6/13/2018
11.17.13 11,674 6/6/2018
11.17.12 7,411 5/29/2018
11.17.11 4,555 5/28/2018
11.17.10 4,396 5/24/2018
11.17.9 39,296 5/18/2018
11.17.7 4,539 5/18/2018
11.17.6 11,898 5/16/2018
11.17.5 4,747 5/14/2018
11.17.4 5,217 5/12/2018
11.17.3 7,040 4/27/2018
11.17.2 5,664 4/20/2018
11.17.1 4,509 4/19/2018
11.17.0 11,890 4/7/2018
11.16.1 6,640 3/24/2018
11.16.0 5,931 3/21/2018
11.15.4 9,675 3/4/2018
11.15.3 7,559 2/14/2018
11.15.2 4,497 2/13/2018
11.15.1 6,715 2/12/2018
11.15.0 4,591 2/11/2018
11.14.1 6,449 2/8/2018
11.14.0 4,864 2/7/2018
11.13.3 4,618 2/5/2018
11.13.2 5,565 2/1/2018
11.13.1 4,624 1/26/2018
11.13.0 4,739 1/25/2018
11.12.16 11,441 12/22/2017
11.12.15 4,368 12/21/2017
11.12.14 4,206 12/20/2017
11.12.13 32,630 12/13/2017
11.12.12 4,502 12/11/2017
11.12.11 5,461 12/8/2017
11.12.10 6,191 12/1/2017
11.12.9 8,263 11/16/2017
11.12.8 4,265 11/14/2017
11.12.7 9,691 11/8/2017
11.12.6 4,247 11/8/2017
11.12.5 4,135 11/8/2017
11.12.4 4,209 11/7/2017
11.12.3 4,126 11/7/2017
11.12.2 4,096 11/6/2017
11.12.1 4,197 11/6/2017
11.12.0 4,100 11/6/2017
11.11.3 5,430 10/28/2017
11.11.2 4,123 10/26/2017
11.11.1 5,114 10/25/2017
11.11.0 4,244 10/19/2017
11.10.0 4,404 10/17/2017
11.9.3 4,702 10/12/2017
11.9.2 4,203 10/11/2017
11.9.1 4,437 10/9/2017
11.9.0 5,407 10/3/2017
11.8.3 5,127 9/28/2017
11.8.2 4,333 9/26/2017
11.8.1 4,118 9/25/2017
11.8.0 4,111 9/25/2017
11.7.2 28,257 9/15/2017
11.7.1 4,431 9/11/2017
11.7.0 3,768 9/11/2017
11.6.1 8,161 9/5/2017
11.6.0 4,381 9/4/2017
11.5.1 12,636 8/29/2017
11.5.0 4,638 8/29/2017
11.4.3 105,738 8/24/2017
11.4.2 4,392 8/23/2017
11.4.1 4,415 8/23/2017
11.4.0 4,394 8/22/2017
11.3.5 18,616 8/14/2017
11.3.3 9,703 7/15/2017
11.3.2 4,613 7/14/2017
11.3.1 53,037 7/13/2017
11.3.0 4,747 7/10/2017
11.2.0 10,321 6/28/2017
11.1.2 4,993 6/20/2017
11.1.1 4,928 6/18/2017
11.1.0 4,649 6/15/2017
11.0.0 4,665 6/13/2017
10.6.6324.28500 19,811 4/25/2017
10.5.6320.21858 4,682 4/21/2017
10.4.6319.17521 4,733 4/20/2017
10.3.6318.21856 4,815 4/19/2017
10.2.6317.32055 4,729 4/18/2017
10.1.6309.31529 5,805 4/10/2017
10.0.6306.29917 4,737 4/7/2017
9.12.6284.27591 6,099 3/16/2017
9.11.6282.35321 4,616 3/14/2017
9.10.6277.17571 5,375 3/9/2017
9.9.6275.31889 4,763 3/7/2017
9.8.6274.26546 4,817 3/6/2017
9.7.6271.14411 4,813 3/3/2017
9.6.6264.38299 5,094 2/24/2017
9.5.6261.38466 4,116 2/21/2017
9.5.6261.38186 3,810 2/21/2017
9.5.6261.38027 3,771 2/21/2017
9.5.6256.39767 4,962 2/16/2017
9.4.6256.32238 4,743 2/16/2017
9.3.6255.22739 4,962 2/15/2017
9.2.6249.28921 4,950 2/9/2017
9.1.6249.16106 4,720 2/9/2017
9.0.6248.25851 9,037 2/8/2017