mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(dir): ♻️ change Swagger UI title
This commit is contained in:
parent
26c4ed2f8c
commit
a0c1724060
2 changed files with 3 additions and 2 deletions
|
|
@ -21,8 +21,8 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.6"/>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.6">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2"/>
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ internal static void UseSwaggerCustom(this IApplicationBuilder app)
|
|||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options =>
|
||||
{
|
||||
options.DocumentTitle = "FilterLists API";
|
||||
options.SwaggerEndpoint("/swagger/v1/swagger.json", "FilterLists Directory API v1");
|
||||
options.RoutePrefix = string.Empty;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue