The Free Software Media System - Server Backend & API
Order actions by route, then http method
crobibero068368df6352
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.csindex 92bacb4400..00a73ade6f 100644--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs@@ -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}");});}}