mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Order actions by route, then http method
This commit is contained in:
parent
890e659cd3
commit
068368df63
1 changed files with 4 additions and 0 deletions
|
@ -105,6 +105,10 @@ namespace Jellyfin.Server.Extensions
|
|||
{
|
||||
c.IncludeXmlComments(xmlFile);
|
||||
}
|
||||
|
||||
// Order actions by route path, then by http method.
|
||||
c.OrderActionsBy(description =>
|
||||
$"{description.ActionDescriptor.RouteValues["controller"]}_{description.HttpMethod}");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue