forked from loafle/openapi-generator-original
fix order of imports in operations
This commit is contained in:
parent
97924c78a0
commit
c386da6ded
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user