Skip to content

Make unevaluatedProperties error message as clear as additionalProperties messageΒ #182

Open
@plocket

Description

The additionalProperties error message names the additional property: Property arbitrary_key is not expected to be here.

The unevaluatedProperties error message doesn't: unevaluatedProperties must NOT have unevaluated properties. It also shows the wrong line number - it's the line for the containing object, not for the property itself.

Is it possible to make the second more like the first? It was a really useful message.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions