How to integrate Swagger UI in a .NET Core Web API application | Amoenus Dev

1 · Romans Pokrovskis · Sept. 3, 2020, 3:28 p.m.
Swagger tooling allows you to generate beautiful API documentation, including a UI to explore and test operations, directly from your routes, controllers and models. Setting it up is simple but requires some code changes. To enable swagger integration for your .NET Core Web API project you will need to: Install Swashbuckle.AspNetCore package from NuGet Change the Startup.cs class of your Net Core Web API application. Add using statement for OpenApiInfo Modify Configure(IApplicationBuilder app,...