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.

Suggest an alternative to 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 2021-09-28.
  • Am Stupid for still hand crafting my client for my swagger based apis?
    reddit.com/r/csharp | 2021-09-28
    I have been using NSwag for years now and it has served me well. I think there has only been two times where it did not work for my needs, so I just switched to doing the http client myself. I would recommend it.
  • Automatic login to web application with Windows credentials
    reddit.com/r/csharp | 2021-09-22
  • Adopting the OpenAPI schema to generate Plaid’s SDKs
    news.ycombinator.com | 2021-09-16
  • Which is the best code generator for consuming RESTful API that uses Swagger?
    reddit.com/r/dotnet | 2021-05-27
  • Can I share DTOs between my API project and consuming project?
    reddit.com/r/dotnet | 2021-05-14
    Look into nswag. Works fantastically well on the project I am on currently.
  • Smithy: A language for defining services and SDKs
    news.ycombinator.com | 2021-05-07
    To generate TS code given an OpenAPI specification, you may want to try OpenAPI Generator[1] and NSwag[2], which work in our cases but your mileage may vary. Both projects allow template customization to meet different requirements.

    [1] https://github.com/OpenAPITools/openapi-generator

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

  • What tools I can use to define WebServices contract?
    You can also codegen to generate the front-end code for most frameworks and it also supports static types. This is amazing since they can get auto-completion based on the parameters of your API. For example, with Angular you can use NSwag to generate the client client-side proxies, it will even create the models/classes that you use on the back end so everything can be in sync.
  • API url strings throughout UI
    reddit.com/r/csharp | 2021-04-12
    Your backend utilizes swashbuckle, right? NSwag is a related tool that will take a look at your backend and produce a bunch of typescript or c# code to call the endpoints with strong typing (generated models for requests and responses) . This is NSwag.
  • Any way to generate Typescript code from API in Mac/OSX or Linux like NSwag Studio?
    reddit.com/r/dotnet | 2021-03-21
    Here’s the docs on NSwag command line https://github.com/RicoSuter/NSwag/wiki/CommandLine#client-generators
  • Angular/.NET core WEB API separate vs. VS2019 Angular Web API combine template
    reddit.com/r/dotnet | 2021-02-15
    I added https://github.com/RicoSuter/NSwag/wiki/NSwag.MSBuild
    reddit.com/r/dotnet | 2021-02-15

Stats

Basic NSwag repo stats
11
4,660
8.5
about 10 hours ago

RicoSuter/NSwag is an open source project licensed under MIT License which is an OSI approved license.

Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
scoutapm.com
Find remote C# jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.