Fix swagger ui Document Title

This commit is contained in:
crobibero 2020-04-21 16:19:26 -06:00
parent 2542a27bd5
commit 041d674eb6

View File

@ -34,6 +34,7 @@ namespace Jellyfin.Server.Extensions
})
.UseSwaggerUI(c =>
{
c.DocumentTitle = "Jellyfin API v1";
c.SwaggerEndpoint($"/{baseUrl}api-docs/v1/openapi.json", "Jellyfin API v1");
c.RoutePrefix = $"{baseUrl}api-docs/v1/swagger";
})