Fix swagger ui Document Title

pull/2925/head
crobibero 5 years ago
parent 2542a27bd5
commit 041d674eb6

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

Loading…
Cancel
Save