I have a functional Web API project. How can I retrofit it with minimal effort to a Swagger documentation/design like http://petstore.swagger.wordnik.com/
Is there a native Swagger like capability available for Web API itself?
For the ASP.NET Web API I recommend you "Swashbuckle". This implementation simplifies adding Swagger to any Web API project by following simple steps. Basically, you will only have to Install the Swashbuckle NuGet package and follow some easy instructions.
Taiseer Joudeh wrote the post "ASP.NET Web API Documentation using Swagger" about how to configure it.
Another popular implementation is Swagger.net, but last change was made 2 years ago, so it seems discontinued.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With