System & Utilities

NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

By RicoSuter. Free and open source for Windows. Latest version v14.8.0, released 2026-11-11.

Is NSwag safe?

Trust score 71/100: Good. A solid project with a few gaps. Download from the official release and keep it updated.

Things to watch:

7,370 GitHub stars · 307k downloads · 309 contributors · OpenSSF Scorecard 2.8/10.

Download NSwag

scoop bucket add extras; scoop install extras/nswagstudio

Downloads come straight from github.com/RicoSuter/NSwag.

About NSwag

:pointright: Announcing Apimundo: An API documentation system based on NSwag and NJsonSchema :pointleft:

NSwag is a Swagger/OpenAPI 2.0 and 3.0 toolchain for .NET, .NET Core, Web API, ASP.NET Core, TypeScript (jQuery, AngularJS, Angular 2+, Aurelia, KnockoutJS and more) and other platforms, written in C#. The OpenAPI/Swagger specification uses JSON and JSON Schema to describe a RESTful web API. The NSwag project provides tools to generate OpenAPI specifications from existing ASP.NET Web API controllers and client code from these OpenAPI specifications.

The project combines the functionality of Swashbuckle (OpenAPI/Swagger generation) and AutoRest (client generation) in one toolchain (these two libs are not needed). This way a lot of incompatibilites can be avoided and features which are not well described by the OpenAPI specification or JSON Schema are better supported (e.g. inheritance, enum and reference handling). The NSwag project heavily uses NJsonSchema for .NET for JSON Schema handling and C#/TypeScript class/interface generation.

The project is developed and maintained by Rico Suter and other contributors.

Similar apps

Questions

Is NSwag safe to download?

NSwag has an OpenShelf trust score of 71/100 (Good). A solid project with a few gaps. Download from the official release and keep it updated. Main thing to watch: Weak automated security checks (OpenSSF Scorecard 2.8/10).

Is NSwag free?

Yes. NSwag is free and open source under the MIT license. The source code is public at github.com/RicoSuter/NSwag.

Does NSwag work on Windows?

NSwag is available for Windows. Ready-made downloads exist for Windows.

How do I install NSwag?

Download the official file from the project's GitHub releases (for example NSwagStudio.msi) and run it. Or install it with: scoop bucket add extras; scoop install extras/nswagstudio.

What are alternatives to NSwag?

Similar open-source apps: RoslynPad (trust 71/100), MSBuildStructuredLog (trust 70/100), TumblThree (trust 65/100), Camelot (trust 46/100).