Skip to content

Commit 6c57e8d

Browse files
committed
Fixed broken order method
1 parent fc3ba5e commit 6c57e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.OpenApi/Services/OpenApiUrlTreeNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ private static string GetMethods(OpenApiUrlTreeNode node)
288288
{
289289
return String.Join("_", node.PathItems.SelectMany(p => p.Value.Operations.Select(o => o.Key))
290290
.Distinct()
291-
.Select(static o => o.ToString().ToUpper())
292-
.Order()
291+
.Select(o => o.ToString().ToUpper())
292+
.OrderBy(o => o)
293293
.ToList());
294294
}
295295

0 commit comments

Comments
 (0)