Merge pull request #3450 from crobibero/api-fix-swagger-order
Fix docs endpoint order
This commit is contained in:
commit
3b99e691a6
|
@ -195,7 +195,7 @@ namespace Jellyfin.Server.Extensions
|
|||
|
||||
// Order actions by route path, then by http method.
|
||||
c.OrderActionsBy(description =>
|
||||
$"{description.ActionDescriptor.RouteValues["controller"]}_{description.HttpMethod}");
|
||||
$"{description.ActionDescriptor.RouteValues["controller"]}_{description.RelativePath}");
|
||||
|
||||
// Use method name as operationId
|
||||
c.CustomOperationIds(description =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user