You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4417cba
Browse filesBrowse the repository at this point in the historyBrowse files
feat: Parse boolean schemas as AlwaysSchema and NeverSchema
JSON Schema 2020-12 allows a bare true or false where a schema is
expected: true accepts any value, false rejects every value. Add the
two new sealed-hierarchy records and change SchemaParser.parse to
accept Object so boolean values dispatch to the new records. Recursive
callers (parseObject, parseArray, parseList, NotSchema) and external
callers in Spec.java drop their Map casts. AdditionalProperties keeps
its existing Boolean handling. DefaultValidator gets minimal switch
branches for the two new types.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments