Fix swagger ui Document Title
This commit is contained in:
parent
2542a27bd5
commit
041d674eb6
|
@ -34,6 +34,7 @@ namespace Jellyfin.Server.Extensions
|
||||||
})
|
})
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
|
c.DocumentTitle = "Jellyfin API v1";
|
||||||
c.SwaggerEndpoint($"/{baseUrl}api-docs/v1/openapi.json", "Jellyfin API v1");
|
c.SwaggerEndpoint($"/{baseUrl}api-docs/v1/openapi.json", "Jellyfin API v1");
|
||||||
c.RoutePrefix = $"{baseUrl}api-docs/v1/swagger";
|
c.RoutePrefix = $"{baseUrl}api-docs/v1/swagger";
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user