Add Swagger to your .NET Core Web API

Last week .NET Core was released, and the first thing I tried to solve was how to Add Swagger to your .NET Core Web API:

1. Dependencies
2. Using statement
3. Add Swagger as a service
4. Add Swagger to the HTTP request pipeline

And that’s it you are ready to go!

Hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *