block comment SwaggerUI so that we don't turn it on by default. (#4258)

This commit is contained in:
Ryan Sweet 2024-11-18 10:04:46 -08:00 committed by GitHub
parent f1daff1582
commit d23d17259d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,9 +67,9 @@ app.UseRouting()
}); ;
app.UseSwagger();
app.UseSwaggerUI(c =>
/* app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
});
}); */
app.Run();