mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Fix swagger ui Document Title
This commit is contained in:
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…
Reference in a new issue