Order actions by route, then http method
This commit is contained in:
parent
890e659cd3
commit
068368df63
|
@ -105,6 +105,10 @@ namespace Jellyfin.Server.Extensions
|
||||||
{
|
{
|
||||||
c.IncludeXmlComments(xmlFile);
|
c.IncludeXmlComments(xmlFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Order actions by route path, then by http method.
|
||||||
|
c.OrderActionsBy(description =>
|
||||||
|
$"{description.ActionDescriptor.RouteValues["controller"]}_{description.HttpMethod}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user