Document Web API 2 Endpoints using Swagger
“Swagger is a simple yet powerful representation of your RESTful API. With the largest ecosystem of API tooling on the planet, thousands of developers are supporting Swagger in almost every modern programming language and deployment environment. With a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability.”
- swagger.io
Understanding the various methods of an API can be a challenge for a developer when building a consuming application.
Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment.
If you want to learn how to document the Endpoints of a Web API 2 project check the video below to learn in under 6 minutes how to:
- Create a new Web API 2 project
- Add Swashbuckle package to the project
- Add and configure Swagger to the middleware
- Understand the SwaggerUI Document
If you liked the video, do not forget to share it and subscribe to the channel for much more!
Great video Ervis, thanks for sharing your knowledge. Keep up with the good work.