Skip to content

Commit

Permalink
fix for the issue facing spec invlolving arrayschema structure with ref
Browse files Browse the repository at this point in the history
fix for the issue facing spec invlolving arrayschema structure with ref
  • Loading branch information
ngp-star committed Aug 2, 2020
1 parent 761364e commit cb4915a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ public String toDefaultValue(Schema schema) {

Schema<?> items = getSchemaItems((ArraySchema) schema);

String typeDeclaration = getTypeDeclaration(items);
String typeDeclaration = getTypeDeclaration(ModelUtils.unaliasSchema(this.openAPI, items));
Object java8obj = additionalProperties.get("java8");
if (java8obj != null) {
Boolean java8 = Boolean.valueOf(java8obj.toString());
Expand Down

0 comments on commit cb4915a

Please sign in to comment.