HavenDV / H.NSwag.Generator

C# Source Generator for NSwag.
MIT License
20 stars 3 forks source link

Support for OpenAPI spec directly #2

Closed OneCyrus closed 1 year ago

OneCyrus commented 2 years ago

how about support of native OpenAPI specification files instead of a nswag file? and use the required config options from code or a separate file.

HavenDV commented 2 years ago

In fact, the NSwag file is the configuration file for the openapi file. Therefore, it makes no sense, the only plus is that the settings will be stored in the .csproj file. But this can create various bugs.