Update Package

This commit is contained in:
luoyunchong
2021-06-11 20:12:24 +08:00
parent b7ae3cf42e
commit 66cd518872
8 changed files with 21 additions and 14 deletions

View File

@ -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");
});