What does HackerNews think of NSwag?
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
https://github.com/RicoSuter/NSwag (It sucks in any OpenAPI yml, not just ones from Swashbuckle/C#)
https://github.com/RicoSuter/NSwag
Which has 1.7k issues, some of which are open for years.
https://github.com/RicoSuter/NSwag
Works a treat and is open-source, integrates nicely with ASP WebAPI projects. Can even generate TypeScript clients with a choice of HTTP library (axios/fetch etc.) or even an Angular based client.
https://github.com/RicoSuter/NSwag
We use the C# client generator in our public sector project and package the results up within Nuget, works a treat.
https://github.com/RicoSuter/NSwag
We use it on a project at work in C# and I've also been using it personally on pet projects with TypeScript.
Allows you to automatically generate REST API clients based on Swagger/OpenAPI specs and is very customizable.
Really nice if building out microservices and you're wanting to communicate between each other or building web apps and want to communicate with APIs. Saves a lot of time writing code to make requests and handle different status codes etc. Automatically generates all the classes/interfaces with sane naming schemes etc.
Even has a GUI application to generate the configs also if you wish.
Swagger Codegen: https://github.com/swagger-api/swagger-codegen
OpenAPI Generator: https://github.com/OpenAPITools/openapi-generator
AutoRest: https://github.com/Azure/AutoRest
NSwag: https://github.com/RicoSuter/NSwag
oapi-codegen: https://github.com/deepmap/oapi-codegen
go-swagger: https://github.com/go-swagger/go-swagger