From 6bc6c5a22dac3dc3d5f3581bfab2b9eb897ea8d0 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Sat, 27 Apr 2024 17:23:59 -1000 Subject: [PATCH] Update README.md Contributes to [this internal issue](https://github.com/dotnet/aspnetcore-internal/issues/4522#issuecomment-2078104865) and is required to be obvious in query results. --- 4-minimal-api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4-minimal-api/README.md b/4-minimal-api/README.md index a70102c..5f64be7 100644 --- a/4-minimal-api/README.md +++ b/4-minimal-api/README.md @@ -113,7 +113,7 @@ Use Swagger to ensure that you have a self-documenting API, where the docs chang { 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"); });