diff --git a/DysonNetwork.Shared/Http/SwaggerGen.cs b/DysonNetwork.Shared/Http/SwaggerGen.cs index 4d6bff7..05efff7 100644 --- a/DysonNetwork.Shared/Http/SwaggerGen.cs +++ b/DysonNetwork.Shared/Http/SwaggerGen.cs @@ -67,13 +67,7 @@ public static class SwaggerGen { var publicBasePath = configuration["Swagger:PublicBasePath"]?.TrimEnd('/') ?? ""; - // 1. Adjust servers - swaggerDoc.Servers = new List - { - new() { Url = publicBasePath } - }; - - // 2. Rewrite all path keys (remove /api or replace it) + // Rewrite all path keys (remove /api or replace it) var newPaths = new OpenApiPaths(); foreach (var (path, pathItem) in swaggerDoc.Paths) {