Skip to content

Commit

Permalink
undo no longer necessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-mfg committed Oct 7, 2024
1 parent c2d02a6 commit 04e9525
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ public boolean isNullTypeSchema(OpenAPI openAPI, Schema schema) {
}

if (schema instanceof JsonSchema) { // 3.1 spec
if (Boolean.TRUE.equals(schema.getNullable()) && schema.get$ref() == null) {
if (Boolean.TRUE.equals(schema.getNullable())) {
return true;
}

Expand Down

0 comments on commit 04e9525

Please sign in to comment.