Skip to content

anyOf allows zero or more #1

@pearmaster

Description

@pearmaster

According to the JSON-Schema spec, an anyOf schema combinator enforces one or more of the specified schemas. Currently, in this project anyOf allows for zero or more.

The consequence for this is that the code will have a false positive (accepts without error when it should throw an error) when zero sub-schemas are provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions