File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ public String apiFileFolder() {
517517
518518 @ Override
519519 public String getTypeDeclaration (Schema p ) {
520- if (ModelUtils .isArraySchema (p )) {
520+ if (ModelUtils .isArraySchema (p )) {
521521 ArraySchema ap = (ArraySchema ) p ;
522522 Schema inner = ap .getItems ();
523523 return ModelUtils .isSet (p ) ? "Set<" + getTypeDeclaration (inner ) + ">" : "[" + getTypeDeclaration (inner ) + "]" ;
@@ -634,7 +634,7 @@ public String toDefaultValue(Schema p) {
634634
635635 @ Override
636636 public String toInstantiationType (Schema p ) {
637- if (ModelUtils .isMapSchema (p )) {
637+ if (ModelUtils .isMapSchema (p )) {
638638 return getSchemaType (getAdditionalProperties (p ));
639639 } else if (ModelUtils .isArraySchema (p )) {
640640 ArraySchema ap = (ArraySchema ) p ;
You can’t perform that action at this time.
0 commit comments