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

@ -11,7 +11,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.5.1" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.4" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.9" />
</ItemGroup>

View File

@ -60,6 +60,7 @@ namespace Knife4jUIDemo
app.UseSwaggerUI(c =>
{
c.RoutePrefix = "swagger"; // serve the UI at root
c.SwaggerEndpoint("/v1/api-docs", "LinCms");
});