diff --git a/4-minimal-api/1-complete/PizzaStore/Program.cs b/4-minimal-api/1-complete/PizzaStore/Program.cs index 12f08d8..405992d 100644 --- a/4-minimal-api/1-complete/PizzaStore/Program.cs +++ b/4-minimal-api/1-complete/PizzaStore/Program.cs @@ -15,7 +15,7 @@ { app.UseDeveloperExceptionPage(); app.UseSwagger(); - app.UseSwaggerUI(c => + app.UseSwaggerUI(c => // UseSwaggerUI Protected by if (env.IsDevelopment()) { c.SwaggerEndpoint("/swagger/v1/swagger.json", "PizzaStore API V1"); }); @@ -29,4 +29,4 @@ app.MapPut("/pizzas", (Pizza pizza) => PizzaDB.UpdatePizza(pizza)); app.MapDelete("/pizzas/{id}", (int id) => PizzaDB.RemovePizza(id)); -app.Run(); \ No newline at end of file +app.Run();