Skip to content

Commit

Permalink
Sort swagger tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed Apr 10, 2018
1 parent 35f9ec7 commit 23e81d5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
import java.util.concurrent.CompletableFuture;
import java.util.regex.Matcher;
Expand Down Expand Up @@ -204,7 +205,10 @@ protected Swagger read(Class<?> cls, String parentPath, String parentMethod, boo

@SuppressWarnings("deprecation")
private Swagger read(Class<?> cls, String parentPath, String parentMethod, boolean isSubresource, String[] parentConsumes, String[] parentProduces, Map<String, Tag> parentTags, List<Parameter> parentParameters, Set<Class<?>> scannedResources) {
Map<String, Tag> tags = new LinkedHashMap<String, Tag>();

Map<String, Tag> tags = new TreeMap<String, Tag>();


List<SecurityRequirement> securities = new ArrayList<SecurityRequirement>();

String[] consumes = new String[0];
Expand Down

0 comments on commit 23e81d5

Please sign in to comment.