RicoSuter/NSwag
View on GitHub ↗ ★ 7,369 C#
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
15 mentions on Hacker News by 12 people: 2 stories, 13 comments · first 2016-10-27 · latest 2024-08-14
20082026
-
we are using the nswag tolchain ( https://github.com/RicoSuter/NSwag ) for generating c# and typescript clients based on openapi specs generated by swashbuckle. you can tweak some details using config file too. it works quite well and even…
comment by elvis19 · 2024-08-14 · in Kiota: OpenAPI-based HTTP client code generator -
https://github.com/domaindrivendev/Swashbuckle.AspNetCore https://github.com/RicoSuter/NSwag There is no need to be facetious, solutions like these exist for many platforms and ecosystems out there. I can't possibly entertain all of them.…
comment by darylteo · 2024-04-30 · in TypeSpec: A new language for API-centric development -
N.B. the last commit/release for Swashbuckle was Jan this year. https://github.com/RicoSuter/NSwag might be a better choice for a new project. It look much more maintained and active than Swashbuckle
comment by switch007 · 2023-11-21 · in .NET Blazor -
…issues that are many years old still in their backlog. 1.6k issues, oldest unresolved 7 years old: https://github.com/RicoSuter/NSwag/issues?q=is%3Aissue+is%3A...
comment by throwawaymaths · 2023-06-01 · in OpenAPI v4 (aka Moonwalk) Proposal -
…TypeScript clients from OpenAPI specs. Definitely give it a shot before killing your current setup. https://github.com/RicoSuter/NSwag (It sucks in any OpenAPI yml, not just ones from Swashbuckle/C#)
comment by easton · 2023-06-01 · in OpenAPI v4 (aka Moonwalk) Proposal -
…and rather used ones made by third-party developers such as NSwag[0] and openapi-codegen[1]. [0]: https://github.com/RicoSuter/NSwag [1]: https://github.com/fabien0102/openapi-codegen
comment by GOATS- · 2023-05-31 · in OpenAPI v4 (aka Moonwalk) Proposal -
…prosaically (and judging from the description of the org), it's likely to be something like this: https://github.com/RicoSuter/NSwag Which has 1.7k issues, some of which are open for years.
comment by throwawaymaths · 2022-09-09 · in How should we handle an over-productive employee? -
…just commented on a comment a bit higher with the same thing, but NSwag will do the trick for you. https://github.com/RicoSuter/NSwag Works a treat and is open-source, integrates nicely with ASP WebAPI projects. Can even generate…
comment by benbristow · 2022-08-31 · in Show HN: An opinionated and statically-typed TypeScript SDK generator -
…with the config being quite complex - there's CLI & GUI tools to generate configs though. 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.
comment by benbristow · 2022-08-31 · in Show HN: An opinionated and statically-typed TypeScript SDK generator -
Something a bit different but I'm a huge fan of NSwag recently. 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…
comment by benbristow · 2022-03-11 · in Convert curl commands to code in several languages -
…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:…
comment by mattzzz · 2021-09-17 · in Adopting the OpenAPI schema to generate Plaid’s SDKs -
…why you need to modify your serialization or protocol to get type safety. I've been using NSwag ( https://github.com/NSwag/NSwag ) to generate TypeScript clients from .ASP.NET controllers and it works great. It can generate TypeScript…
comment by grovesNL · 2017-04-27 · in gRPC-Web: Moving past REST+JSON towards type-safe Web APIs -
…to generate clients with good results. [0] https://github.com/domaindrivendev/Swashbuckle [1] https://github.com/NSwag/NSwag
comment by ogrim · 2017-04-05 · in Problems with Swagger