services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new OpenApiInfo { Title = "The API", Version = "v1" }); });