diff --git a/Needlework.Net/Models/OpenApiDocumentWrapper.cs b/Needlework.Net/Models/OpenApiDocumentWrapper.cs index 83daa82..b949395 100644 --- a/Needlework.Net/Models/OpenApiDocumentWrapper.cs +++ b/Needlework.Net/Models/OpenApiDocumentWrapper.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Linq; using Microsoft.OpenApi.Models; namespace Needlework.Net.Models; @@ -63,6 +64,10 @@ public class OpenApiDocumentWrapper } } + plugins = new(plugins.ToDictionary( + kvp => kvp.Key, + kvp => kvp.Value.OrderBy(x => x.Path).ToList())); + Plugins = plugins; } }