Hacker GitHub

← All repos

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

Mentions per year 15 mentions · busiest year 2022 (5)
20082026
  1. 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…
  2. 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.…
  3. 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
  4. …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
  5. …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
  6. …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
  7. …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?
  8. …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…
  9. …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.
  10. ▲ 1
    NSwagStudio
    story by evo_9 · 2022-04-22 · 0 comments
  11. 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…
  12. …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:…
  13. …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…
  14. …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
  15. ▲ 1
    NSwag: The Swagger API Toolchain for .NET, Web API and TypeScript
    story by andrewwy · 2016-10-27 · 0 comments