diff --git a/src/WebApi/Extensions/SwaggerExtension.cs b/src/WebApi/Extensions/SwaggerExtension.cs index 678c04e..772e61a 100644 --- a/src/WebApi/Extensions/SwaggerExtension.cs +++ b/src/WebApi/Extensions/SwaggerExtension.cs @@ -102,6 +102,7 @@ public static void UsePandaSwagger(this WebApplication app, IConfiguration confi { options.InjectStylesheet("/assets/css/panda-style.css"); options.InjectJavascript("/assets/js/docs.js"); + options.DocExpansion(DocExpansion.None); }); } // move to common @@ -141,4 +142,4 @@ public class SwaggerVersionOptions public string Title { get; set; } = null!; public string Description { get; set; } = null!; } // move to common -} \ No newline at end of file +}