NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript. (by RicoSuter)

NSwag Alternatives

Similar projects and alternatives to NSwag

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better NSwag alternative or higher similarity.

NSwag reviews and mentions

Posts with mentions or reviews of NSwag. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • This week I released v2.1 of my text-templating library Weave that now uses Source Generators by default.
    6 projects | /r/dotnet | 7 Dec 2023
    I'm mostly using it for C# API client generation from backend code - sort of similar to what a tool like NSwag Studio will do. I think NTypewriter has more flexibility though, and having a live view with the VS plugin makes development quick.
  • OpenAPI v4 Proposal
    24 projects | news.ycombinator.com | 31 May 2023
    I find it odd that you've struggled so much with generating API clients. I've generated C# and TypeScript (Angular's HttpClient and React Query) clients for my API and never had any issues with them. With that being said, I didn't use OpenAPI's Java-based code generators and rather used ones made by third-party developers such as NSwag[0] and openapi-codegen[1].

    [0]: https://github.com/RicoSuter/NSwag

    24 projects | news.ycombinator.com | 31 May 2023
    NSwag does a wonderful job of generating 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#)

  • Looking for an alternative to NSwag
    2 projects | /r/dotnet | 18 May 2023
  • The Typescript ecosystem is exhausting
    3 projects | /r/typescript | 14 May 2023
    I use this https://github.com/RicoSuter/NSwag but it's designed for .Net backends to some extent. But you can use the client generation from the command line or manually with the standalone client app.
  • Code generation from Swagger specification file
    2 projects | /r/dotnet | 22 Apr 2023
  • Tool for generating example API requests and responses from OpenAPI
    4 projects | /r/api | 3 Apr 2023
    Here are three tools that you can use to generate example API requests and responses from OpenAPI specifications. These tools should work well even if your schemas are deeply nested: Nswag (Command Line and GUI): Nswag is a Swagger/OpenAPI toolchain for .NET, TypeScript, and other platforms. It supports code generation, client generation, and API documentation. You can use NswagStudio, which is a graphical interface, or you can use the command line tool called "NSwag.exe" for generating example API requests and responses. GitHub: https://github.com/RicoSuter/NJsonSchema NswagStudio: https://github.com/RicoSuter/NSwag/wiki/NSwagStudio Dredd (Command Line): Dredd is a language-agnostic command-line tool for validating API descriptions against backend implementations. It supports OpenAPI, Swagger, and API Blueprint formats. Dredd can generate example requests and responses and validate whether your API implementation conforms to the API description. GitHub: https://github.com/apiaryio/dredd Documentation: https://dredd.org/en/latest/ Stoplight Studio (GUI): Stoplight Studio is a modern API design and documentation platform that supports OpenAPI and JSON Schema. It allows you to create, edit, and validate OpenAPI specifications and provides a powerful visual interface for generating example API requests and responses. Website: https://stoplight.io/studio/ GitHub: https://github.com/stoplightio/studio These tools should provide you with the ability to generate example API requests and responses from your OpenAPI specifications and handle deeply nested schemas.
  • Best practices of create models for back-end commutation.
    3 projects | /r/Angular2 | 26 Oct 2022
    If your API exposes a Swagger definition, you can use NSwag (https://github.com/RicoSuter/NSwag) to generate the TypeScript API Client and Models for you. We found this eliminates errors due to TS and API DTO’s not matching
  • In Visual Studio 2022 Is there a way to generate a function from an OpenApi yaml file
    3 projects | /r/AZURE | 11 Oct 2022
  • What class should I create to deserialize this?
    5 projects | /r/csharp | 6 Oct 2022
    There are Swagger v2/OpenAPI v3 specifications in the repository. Could you use NSwag or (if you have Visual Studio) the Connected Services tools? That'll make a client and all the necessary types for you.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 28 Mar 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic NSwag repo stats
39
6,437
8.9
2 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com