forked from loafle/openapi-generator-original
replace tabs with 4-spaces
This commit is contained in:
parent
1231b1ab04
commit
a8ee07c132
@ -350,9 +350,9 @@ public abstract class AbstractGoCodegen extends DefaultCodegen implements Codege
|
|||||||
} else {
|
} else {
|
||||||
typDecl = "interface{}";
|
typDecl = "interface{}";
|
||||||
}
|
}
|
||||||
if (Boolean.TRUE.equals(inner.getNullable())) {
|
if (Boolean.TRUE.equals(inner.getNullable())) {
|
||||||
typDecl = "*" + typDecl;
|
typDecl = "*" + typDecl;
|
||||||
}
|
}
|
||||||
return "[]" + typDecl;
|
return "[]" + typDecl;
|
||||||
} else if (ModelUtils.isMapSchema(p)) {
|
} else if (ModelUtils.isMapSchema(p)) {
|
||||||
Schema inner = getAdditionalProperties(p);
|
Schema inner = getAdditionalProperties(p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user