Skip to content

Commit

Permalink
Merge pull request #1577 from josh-bridge/null-string
Browse files Browse the repository at this point in the history
Allow null string values
  • Loading branch information
gracekarina authored Jul 30, 2021
2 parents 5b6c879 + 70859cf commit 95a6da0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ public String getString(String key, ObjectNode node, boolean required, String lo
}
} else if (!v.isValueNode()) {
result.invalidType(location, key, "string", node);
} else {
} else if (!v.isNull()) {
value = v.asText();
if (uniqueValues != null && !uniqueValues.add(value)) {
result.unique(location, "operationId");
Expand Down

0 comments on commit 95a6da0

Please sign in to comment.