From 90c6c210913621c0e1a219855b463e401732e07e Mon Sep 17 00:00:00 2001 From: lxw Date: Thu, 16 May 2024 13:51:10 +0800 Subject: [PATCH] =?UTF-8?q?swagger=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStarter/Program.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/WebStarter/Program.cs b/WebStarter/Program.cs index d730f5f..4280c00 100644 --- a/WebStarter/Program.cs +++ b/WebStarter/Program.cs @@ -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();