Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/havendv/h.nswag.generator
- Owner: HavenDV
- License: mit
- Created: 2020-11-28T14:45:00.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T22:54:33.000Z (about 2 months ago)
- Last Synced: 2024-11-01T13:42:02.347Z (13 days ago)
- Topics: code-generator, csharp9, generator, nswag, source-generator
- Language: C#
- Homepage:
- Size: 859 KB
- Stars: 21
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
```xmltrue
```
### Contacts
* [mail](mailto:[email protected])