mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Add Redoc, move docs to api-docs/
This commit is contained in:
parent
8a7e4cd639
commit
e72a543570
@ -21,10 +21,12 @@ namespace Jellyfin.Server.Extensions
|
||||
.UseSwaggerUI(c =>
|
||||
{
|
||||
c.SwaggerEndpoint(specEndpoint, "Jellyfin API V1");
|
||||
c.RoutePrefix = "api-docs/swagger";
|
||||
})
|
||||
.UseReDoc(c =>
|
||||
{
|
||||
c.SpecUrl(specEndpoint);
|
||||
c.RoutePrefix = "api-docs/redoc";
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user