October 2018
Beginner to intermediate
478 pages
10h 8m
English
To generate the Swagger file automatically in your project, I recommend using the popular Swashbuckle (https://github.com/domaindrivendev/Swashbuckle.AspNetCore) NuGet package.
Swashbuckle uses the metadata of your API to build the OpenAPI file. The metadata is automatically created by ASP.NET Core, based on the routing attributes, and the method's signature of the action in your controllers.
To use Swashbuckle, do the following:
Read now
Unlock full access