Skip to content

Commit

Permalink
Create new ArraySchema in getArraySchema
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-burroughs committed Jun 17, 2024
1 parent 2bd1d85 commit 7294c90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public static Optional<Schema> getArraySchema(io.swagger.v3.oas.annotations.medi
arraySchemaObject = new ArraySchema();
} else {
if (existingSchema == null) {
arraySchemaObject = new JsonSchema();
arraySchemaObject = new ArraySchema();
} else {
arraySchemaObject = existingSchema;
}
Expand Down

0 comments on commit 7294c90

Please sign in to comment.