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: about 1 month 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T22:54:33.000Z (3 months ago)
- Last Synced: 2024-11-01T13:42:02.347Z (about 1 month 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
- RSCG_Examples - H.NSwag.Generator
- csharp-source-generators - H.NSwag.Generator - ![stars](https://img.shields.io/github/stars/HavenDV/H.NSwag.Generator?style=flat-square&cacheSeconds=604800) ![last commit](https://img.shields.io/github/last-commit/HavenDV/H.NSwag.Generator?style=flat-square&cacheSeconds=86400) - C# Source Generator for NSwag. (Source Generators / Webprogramming)
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])