Skip to content

Commit

Permalink
fix for the issue facing spec invlolving arrayschema structure with r…
Browse files Browse the repository at this point in the history
…ef (#6310)

fix for the issue facing spec invlolving arrayschema structure with ref
  • Loading branch information
ngp-star authored Aug 2, 2020
1 parent 761364e commit 93159de
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 93159de

Please sign in to comment.