Closed justin-tay closed 4 months ago
Attention: Patch coverage is 62.03704%
with 41 lines
in your changes are missing coverage. Please review.
Project coverage is 78.76%. Comparing base (
95911ba
) to head (65be26c
). Report is 1 commits behind head on master.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closes #441, closes #467, closes #841, closes #868, closes #882
This contains breaking changes to those using the walk functionality
When using the walker with defaults the
default
across a$ref
are properly resolved and used.The behavior for the property listener is now more consistent whether or not validation is enabled. Previously if validation is enabled but the property is
null
the property listener is not called while if validation is not enabled it will be called. Now the property listener will be called in both scenarios.The following are the breaking changes to those using the walk functionality. Previously there wasn't a way to get the
JsonSchema
of the schema that was referenced by theschemaNode
and it was unclear what theschemaLocation
orevaluationPath
was referring to.WalkEvent
schemaLocation
getValidator().getSchemaLocation()
. For items and properties:getSchema().getSchemaLocation()
evaluationPath
getValidator().getEvaluationPath()
. For items and properties:getSchema().getEvaluationPath()
schemaNode
getSchema().getSchemaNode()
parentSchema
getSchema().getParentSchema()
schema
node
instanceNode
currentJsonSchemaFactory
getSchema().getValidationContext().getJsonSchemaFactory()
validator