Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/havendv/h.nswag.generator

C# Source Generator for NSwag.
https://github.com/havendv/h.nswag.generator

code-generator csharp9 generator nswag source-generator

Last synced: 6 days ago
JSON representation

C# Source Generator for NSwag.

Awesome Lists containing this project

README

        

# [H.NSwag.Generator](https://github.com/HavenDV/H.NSwag.Generator/)

### [![NuGet](https://img.shields.io/nuget/dt/H.NSwag.Generator.svg?style=flat-square&label=H.NSwag.Generator)](https://www.nuget.org/packages/H.NSwag.Generator/)
```
Install-Package H.NSwag.Generator
```

### Usage
The generator generates code based on any .nswag file in the AdditionalFiles ItemGroup.
The generator will automatically detect all NSwag files inside the project directory, there is no need to add them manually.
```xml

```

### Global options
Enable caching - suitable for cases where your openapi specification rarely changes or you get it via url.
```xml

true

```

### Contacts
* [mail](mailto:[email protected])