Swashbuckle.WebApi
Swashbuckle.WebApi copied to clipboard
Support OpenAPI version 3 in .NET Framework
I use Swashbuckle in my project on .NET Framework. Can i generate YAML specification to my API with OpenAPI version 3?
Currently, my team needs to support the OAS3 on our .net framework. And I tried many methods. I even use microsoft.openapi to change the swagger2, and set the default path of my swagger middleware.
But today, when I research the source code of Nswag, I found there is a parameter of SwaggerUI3Setting, that can directly make the Nswag middleware support OAS3.
GeneratorSettings.SchemaType = SchemaType.OpenApi3;