fix order of imports in operations

This commit is contained in:
cbornet 2016-11-15 21:45:15 +01:00
parent 97924c78a0
commit c386da6ded

View File

@ -840,7 +840,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
operations.put("package", config.apiPackage());
Set<String> allImports = new LinkedHashSet<String>();
Set<String> allImports = new TreeSet<String>();
for (CodegenOperation op : ops) {
allImports.addAll(op.imports);
}