Skip to content

Commit

Permalink
Update Configure.OpenApi.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 19, 2024
1 parent 20f1f22 commit 45af3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MyApp/Configure.OpenApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 45af3c8

Please sign in to comment.