From 0958cf003c869d757d472efe2404064a70ded48c Mon Sep 17 00:00:00 2001 From: tanghc Date: Fri, 3 Jan 2020 09:37:41 +0800 Subject: [PATCH] 2.5.9 --- .../com/gitee/sop/websiteserver/manager/SwaggerDocParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sop-website/src/main/java/com/gitee/sop/websiteserver/manager/SwaggerDocParser.java b/sop-website/src/main/java/com/gitee/sop/websiteserver/manager/SwaggerDocParser.java index ff845789..af3b419a 100644 --- a/sop-website/src/main/java/com/gitee/sop/websiteserver/manager/SwaggerDocParser.java +++ b/sop-website/src/main/java/com/gitee/sop/websiteserver/manager/SwaggerDocParser.java @@ -61,6 +61,8 @@ public class SwaggerDocParser implements DocParser { } } + docItems.sort(Comparator.comparing(DocItem::getNameVersion)); + List docModuleList = docItems.stream() .collect(Collectors.groupingBy(DocItem::getModule)) .entrySet()