swagger配置

master
lxw 6 months ago
parent 182f49d6b4
commit 90c6c21091

@ -72,7 +72,6 @@ if (redisConnectionString != null && instanceName != null)
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Logging.AddLog4Net("log4net.config");
var app = builder.Build();

Loading…
Cancel
Save