Add Redoc, move docs to api-docs/

pull/2925/head
crobibero 4 years ago
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…
Cancel
Save