mirror of
https://github.com/nsnail/IGeekFan.AspNetCore.Knife4jUI.git
synced 2025-08-03 05:57:58 +08:00
Update Package
This commit is contained in:
@ -55,6 +55,7 @@ namespace NSwag.Swagger.Knife4jUI
|
||||
});
|
||||
app.UseKnife4UI(c =>
|
||||
{
|
||||
c.RoutePrefix = ""; // serve the UI at root
|
||||
// c.RoutePrefix = "/docs"; // serve the UI at root
|
||||
c.SwaggerEndpoint("/swagger/v1/swagger.json", "V1 Docs");
|
||||
});
|
||||
|
Reference in New Issue
Block a user