replace tabs with 4-spaces

This commit is contained in:
William Cheng 2021-09-09 12:27:31 +08:00
parent 1231b1ab04
commit a8ee07c132

View File

@ -350,9 +350,9 @@ public abstract class AbstractGoCodegen extends DefaultCodegen implements Codege
} else {
typDecl = "interface{}";
}
if (Boolean.TRUE.equals(inner.getNullable())) {
typDecl = "*" + typDecl;
}
if (Boolean.TRUE.equals(inner.getNullable())) {
typDecl = "*" + typDecl;
}
return "[]" + typDecl;
} else if (ModelUtils.isMapSchema(p)) {
Schema inner = getAdditionalProperties(p);