All I\'m trying to do is add swagger to an ASP.Net Core application. I\'m watching a tutorial and all I see them do is add services.AddSwaggerGen(); under the c
services.AddSwaggerGen();
For the .Net core project, you need to install Four packages. Better to use Nuget package manager so it takes appropriate needed versions.
Microsoft.OpenApi Swashbuckle.AspNetCore.Swagger Swashbuckle.AspNetCore.SwaggerGen Swashbuckle.AspNetCore.SwaggerUI