You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](#backers)
11
11
[](#sponsors)
12
12
@@ -30,12 +30,12 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
30
30
31
31
**Ways to use the toolchain:**
32
32
33
-
- Simple to use Windows GUI, [NSwagStudio](https://github.com/NSwag/NSwag/wiki/NSwagStudio)
34
-
- By using the [OpenAPI or OpenAPI UI OWIN and ASP.NET Core Middlewares](https://github.com/NSwag/NSwag/wiki/Middlewares) (also serves the [Swagger UI](https://github.com/swagger-api/swagger-ui)) (recommended)
35
-
- Via [command line](https://github.com/NSwag/NSwag/wiki/CommandLine) (Windows, Mac and Linux support through [Mono](http://www.mono-project.com/) or .NET Core console binary, also via [NPM package](https://www.npmjs.com/package/nswag))
33
+
- Simple to use Windows GUI, [NSwagStudio](https://github.com/RicoSuter/NSwag/wiki/NSwagStudio)
34
+
- By using the [OpenAPI or OpenAPI UI OWIN and ASP.NET Core Middlewares](https://github.com/RicoSuter/NSwag/wiki/Middlewares) (also serves the [Swagger UI](https://github.com/swagger-api/swagger-ui)) (recommended)
35
+
- Via [command line](https://github.com/RicoSuter/NSwag/wiki/CommandLine) (Windows, Mac and Linux support through [Mono](http://www.mono-project.com/) or .NET Core console binary, also via [NPM package](https://www.npmjs.com/package/nswag))
36
36
- In your C# code, via [NuGet](https://www.nuget.org/packages?q=NSwag)
37
-
- In your [MSBuild targets](https://github.com/NSwag/NSwag/wiki/MSBuild)
38
-
- With [ServiceProjectReference](https://github.com/NSwag/NSwag/wiki/ServiceProjectReference) tags in your .csproj (preview)
37
+
- In your [MSBuild targets](https://github.com/RicoSuter/NSwag/wiki/MSBuild)
38
+
- With [ServiceProjectReference](https://github.com/RicoSuter/NSwag/wiki/ServiceProjectReference) tags in your .csproj (preview)
39
39
- In your [Azure V2 Functions](https://github.com/Jusas/NSwag.AzureFunctionsV2) (external project, might not use latest NSwag version)
40
40
41
41
**Tutorials:**
@@ -47,27 +47,27 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
47
47
**OpenAPI/Swagger Generators:**
48
48
49
49
- ASP.NET Web API assembly to OpenAPI (supports .NET Core)
- Generates TypeScript clients from a OpenAPI specification
72
72
- Available templates/supported libraries:
73
73
- JQuery with Callbacks, `JQueryCallbacks`
@@ -93,7 +93,7 @@ The project is developed and maintained by [Rico Suter](http://rsuter.com) and o
93
93
Specification:
94
94
95
95
-**[NSwag.Core](https://www.nuget.org/packages/NSwag.Core/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
96
-
- The OpenAPI/Swagger reader and writer classes, see [OpenApiDocument](https://github.com/RSuter/NSwag/wiki/OpenApiDocument)
96
+
- The OpenAPI/Swagger reader and writer classes, see [OpenApiDocument](https://github.com/RicoSuter/NSwag/wiki/OpenApiDocument)
97
97
-**[NSwag.Core.Yaml](https://www.nuget.org/packages/NSwag.Core.Yaml/)** (.NET Standard 1.3 / 2.0 and .NET 4.5):
98
98
- Extensions to read and write YAML OpenAPI specifications
99
99
-**[NSwag.Annotations](https://www.nuget.org/packages/NSwag.Annotations/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
@@ -104,7 +104,7 @@ OpenAPI generation:
104
104
-**[NSwag.Generation](https://www.nuget.org/packages/NSwag.Generation/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
105
105
- Classes to generate OpenAPI specifications
106
106
-**[NSwag.Generation.WebApi](https://www.nuget.org/packages/NSwag.Generation.WebApi/)** (.NET Standard 1.0 / 2.0 and .NET 4.5):
107
-
- Classes to generate OpenAPI specifications from Web API controllers, see [WebApiOpenApiDocumentGenerator](https://github.com/RSuter/NSwag/wiki/WebApiOpenApiDocumentGenerator)
107
+
- Classes to generate OpenAPI specifications from Web API controllers, see [WebApiOpenApiDocumentGenerator](https://github.com/RicoSuter/NSwag/wiki/WebApiOpenApiDocumentGenerator)
108
108
-**[NSwag.Generation.AspNetCore](https://www.nuget.org/packages/NSwag.Generation.AspNetCore/)** (.NET Standard 1.6 / 2.0 and .NET 4.5.1):
109
109
- (Experimental) Classes to generate OpenAPI specifications from ASP.NET Core MVC controllers using the ApiExplorer
110
110
@@ -113,17 +113,17 @@ Code generation:
113
113
-**[NSwag.CodeGeneration](https://www.nuget.org/packages/NSwag.CodeGeneration/)** (.NET Standard 1.3 / 2.0 / .NET 4.5.1):
114
114
- Base classes to generate clients from OpenAPI specifications
115
115
-**[NSwag.CodeGeneration.CSharp](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/)** (.NET Standard 1.3 and .NET 4.5.1):
116
-
- Classes to generate C# clients from OpenAPI specifications, see [CSharpClientGenerator](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) and [CSharpControllerGenerator](https://github.com/RSuter/NSwag/wiki/CSharpControllerGenerator)
116
+
- Classes to generate C# clients from OpenAPI specifications, see [CSharpClientGenerator](https://github.com/RicoSuter/NSwag/wiki/CSharpClientGenerator) and [CSharpControllerGenerator](https://github.com/RicoSuter/NSwag/wiki/CSharpControllerGenerator)
117
117
-**[NSwag.CodeGeneration.TypeScript](https://www.nuget.org/packages/NSwag.CodeGeneration.TypeScript/)** (.NET Standard 1.3 and .NET 4.5.1):
118
-
- Classes to generate TypeScript clients from OpenAPI specifications, see [TypeScriptClientGenerator](https://github.com/RSuter/NSwag/wiki/TypeScriptClientGenerator)
118
+
- Classes to generate TypeScript clients from OpenAPI specifications, see [TypeScriptClientGenerator](https://github.com/RicoSuter/NSwag/wiki/TypeScriptClientGenerator)
119
119
120
120
ASP.NET and ASP.NET Core:
121
121
122
122
-**[NSwag.AspNetCore](https://www.nuget.org/packages/NSwag.AspNetCore/)** (.NET Standard 1.6 / 2.0 and .NET 4.5.1+):
- ASP.NET Web API filter which serializes exceptions ([JsonExceptionFilterAttribute](https://github.com/NSwag/NSwag/wiki/JsonExceptionFilterAttribute))
126
+
- ASP.NET Web API filter which serializes exceptions ([JsonExceptionFilterAttribute](https://github.com/RicoSuter/NSwag/wiki/JsonExceptionFilterAttribute))
127
127
128
128
Frontends:
129
129
@@ -132,7 +132,7 @@ Frontends:
132
132
-**[NSwag.Commands](https://www.nuget.org/packages/NSwag.Commands/)** (.NET Standard 1.6 / 2.0 and .NET 4.5.1+):
133
133
- Commands for the command line tool implementations and UI
- Adds a .targets file to your Visual Studio project, so that you can run the NSwag command line tool in an MSBuild target, see [MSBuild](https://github.com/RSuter/NSwag/wiki/MSBuild)
135
+
- Adds a .targets file to your Visual Studio project, so that you can run the NSwag command line tool in an MSBuild target, see [MSBuild](https://github.com/RicoSuter/NSwag/wiki/MSBuild)
136
136
-**[NSwag.ConsoleCore](https://www.nuget.org/packages/NSwag.ConsoleCore/)** (.NET Core 1.0, 1.1, 2.0, 2.1 and 2.2):
137
137
- Command line tool for .NET Core (`dotnet nswag`)
@@ -146,7 +146,7 @@ The NuGet packages may require the **Microsoft.NETCore.Portable.Compatibility**
146
146
147
147
### Usage in C#
148
148
149
-
To register the [middlewares](https://github.com/RSuter/NSwag/wiki/AspNetCoreOpenApiDocumentGenerator) to generate a OpenAPI spec and render the UI, register NSwag in `Startup.cs`:
149
+
To register the [middlewares](https://github.com/RicoSuter/NSwag/wiki/AspNetCoreOpenApiDocumentGenerator) to generate a OpenAPI spec and render the UI, register NSwag in `Startup.cs`:
150
150
151
151
```csharp
152
152
publicclassStartup
@@ -187,11 +187,11 @@ var clientGenerator = new CSharpClientGenerator(document, clientSettings);
187
187
varcode=clientGenerator.GenerateFile();
188
188
```
189
189
190
-
Check out the [project Wiki](https://github.com/NSwag/NSwag/wiki) for more information.
190
+
Check out the [project Wiki](https://github.com/RicoSuter/NSwag/wiki) for more information.
191
191
192
192
### NSwagStudio
193
193
194
-
The generators can be used in a comfortable and simple Windows GUI called [NSwagStudio](https://github.com/NSwag/NSwag/wiki/NSwagStudio):
194
+
The generators can be used in a comfortable and simple Windows GUI called [NSwagStudio](https://github.com/RicoSuter/NSwag/wiki/NSwagStudio):
0 commit comments