diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-06-26 19:21:48 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-26 19:21:48 +0900 |
| commit | 3b99e691a6ee52814e9b90f42489c8ea4e93dc47 (patch) | |
| tree | 859a485ceb9e86642fe46b25d651a2dd2c131072 | |
| parent | fe02c6e86346f8bbad8e0a217d4db3b7d5aef0ac (diff) | |
| parent | 8d7b39a36e388bda2bc09f3896714bdefa2866b7 (diff) | |
Merge pull request #3450 from crobibero/api-fix-swagger-order
Fix docs endpoint order
| -rw-r--r-- | Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs index e4ecd343c..cfbabf795 100644 --- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs +++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs @@ -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 => |
