Closed adityachatterjee42 closed 3 months ago
Jackson Databind uses com.fasterxml.jackson.databind.node.MissingNode as a 'null object'
Supplying the MissingNode singleton to JsonSchema.validate(...) leads to the following validation error message: $: unknown found, {} expected
$: unknown found, {} expected
I suggest we explicitly handle MissingNode and return a more descriptive error message, or fail in a different way.
Can you provide the example and input data used? Are you sure it is MissingNode and not NullNode? I don't really see any issue with the message.
Closing the issue as there is no action.
Jackson Databind uses com.fasterxml.jackson.databind.node.MissingNode as a 'null object'
Supplying the MissingNode singleton to JsonSchema.validate(...) leads to the following validation error message:
$: unknown found, {} expected
I suggest we explicitly handle MissingNode and return a more descriptive error message, or fail in a different way.