Add Redoc, move docs to api-docs/

This commit is contained in:
crobibero 2020-04-19 11:24:03 -06:00
parent 8a7e4cd639
commit e72a543570

View File

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