From 05c048451488f50369d78d074aad900d80a39050 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 19 Mar 2024 06:41:19 +0100 Subject: [PATCH] try --- src/HeartTrackAPI/Utils/AppBootstrap.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/HeartTrackAPI/Utils/AppBootstrap.cs b/src/HeartTrackAPI/Utils/AppBootstrap.cs index 156dd23..fd57adb 100644 --- a/src/HeartTrackAPI/Utils/AppBootstrap.cs +++ b/src/HeartTrackAPI/Utils/AppBootstrap.cs @@ -186,9 +186,7 @@ public class AppBootstrap(IConfiguration configuration) { var apiVersionDescriptionProvider = app.Services.GetRequiredService(); app.UseSwagger(); - app.UseSwaggerUI(c => { - c.SwaggerEndpoint($"./v1/swagger.json", "SapWeb v1"); - }); + app.UseSwaggerUI(); app.MapSwagger(); /* app.UseSwaggerUI(options => {