From 388646eca5302566713d1e649b23835678c3c861 Mon Sep 17 00:00:00 2001 From: Tobias Graf <64769885+tobias-graf-p@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:57:26 +0100 Subject: [PATCH] fixed readme code sample (#4667) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cccdbc224e..f73321ea06 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ public class Startup ... app.UseOpenApi(); // serve OpenAPI/Swagger documents - app.UseSwaggerUi3(); // serve Swagger UI + app.UseSwaggerUi(); // serve Swagger UI app.UseReDoc(); // serve ReDoc UI } } @@ -238,4 +238,4 @@ Support this project by becoming a sponsor. Your logo will show up here with a l Thank you to all our backers! - + \ No newline at end of file