Skip to content

Commit

Permalink
Update SwaggerExtension.cs
Browse files Browse the repository at this point in the history
Signed-off-by: Haik <[email protected]>
  • Loading branch information
HaikAsatryan authored Dec 1, 2023
1 parent ca2799a commit 8835795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WebApi/Extensions/SwaggerExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -141,4 +142,4 @@ public class SwaggerVersionOptions
public string Title { get; set; } = null!;
public string Description { get; set; } = null!;
} // move to common
}
}

0 comments on commit 8835795

Please sign in to comment.