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
The text was updated successfully, but these errors were encountered:
hudson-ai
changed the title
JSON generation should allow false subschemas to blacklist keys
[Feature] JSON generation should allow false subschemas to blacklist keys
Sep 10, 2024
We were previously supporting `True`/`False` schemas only when nested in
certain places like `items` and `additionalProperties`. This expands our
coverage to handle top-level boolean schemas as well.
Note that we will now raise a `ValueError` for `False` schemas, simply
because there is nothing we can generate in this case.
May need to revisit this (see #1018)
E.g. the following schema should allow the generation of any object that does not contain the key "name":
The text was updated successfully, but these errors were encountered: