Skip to content

Commit 3f5334c

Browse files
committed
Sorted based on tag
1 parent 182582a commit 3f5334c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/parse-utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export default async function ProcessSpec(specUrl){
170170
})
171171
}
172172
servers = openApiSpec.servers;
173+
tags.sort((a, b) => (a.name < b.name ? -1 : (a.name > b.name ? 1: 0)) );
173174
let parsedSpec = {
174175
"info" : openApiSpec.info,
175176
"tags" : tags,

0 commit comments

Comments
 (0)