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: 3 months 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-05-04T01:00:01.000Z (6 months ago)
- Last Synced: 2024-06-19T19:46:15.112Z (5 months ago)
- Topics: code-generator, csharp9, generator, nswag, source-generator
- Language: C#
- Homepage:
- Size: 858 KB
- Stars: 19
- 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])