diff --git a/MyApp/Configure.OpenApi.cs b/MyApp/Configure.OpenApi.cs index bac4549..7b6a6e4 100644 --- a/MyApp/Configure.OpenApi.cs +++ b/MyApp/Configure.OpenApi.cs @@ -8,7 +8,7 @@ public class ConfigureOpenApi : IHostingStartup { public void Configure(IWebHostBuilder builder) => builder .ConfigureServices((context, services) => { - if (context.HostingEnvironment.IsDevelopment()) + // if (context.HostingEnvironment.IsDevelopment()) { services.AddEndpointsApiExplorer(); services.AddSwaggerGen();