NSwag vs Swashbuckle

Viewed 6415

I've read in the documentation that "The two main OpenAPI implementations for .NET are Swashbuckle and NSwag" but I can't find what are the differences between them. How do I choose one?

1 Answers

I would like to share information that I have found so far. It doesn't answer my question but might be useful for others. I found a comment from RicoSuter who develops NSwag:

NSwag not only provides the functionality of Swashbuckle (Swagger generation) but also code generators. This way we can avoid incompatibilities and offer more features and a more streamlined toolchain.

But I don't accept this as the answer to my question because it doesn't have enough information to make a conscious decision about which tool to use.

I also found a great blog post that compares tools to generate typescript clients from swagger schema. But it doesn't have information about Swashbuckle because Swashbuckle doesn't generate client code.

Related