Replace { "type": "string", "nullable": true }
with { "type": ["string", "null"] }
#366
Labels
bug
Something isn't working
We have many schemas describing a datatype that is either string or null with
{ "type": "string", "nullable": true }
. However the correct way to describe this datatype is{ "type": ["string", "null"] }
. Moreover, UsinganyOf
on{ "type": ["string", "null"] }
and{ "type": "string" }
is redundant because the former already encapsulates the latter.Spawning off of this comment
The text was updated successfully, but these errors were encountered: