networknt / json-schema-validator

A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12
Apache License 2.0
799 stars 320 forks source link

Fix schema location for escaped json pointer #1038

Closed justin-tay closed 2 months ago

justin-tay commented 2 months ago

Closes #1037, closes #1036

Performs the unescaping for JSON Pointer in SchemaLocation.Fragment.

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 90.90909% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 79.18%. Comparing base (48ca3c2) to head (c179682). Report is 12 commits behind head on master.

Files Patch % Lines
...main/java/com/networknt/schema/SchemaLocation.java 90.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1038 +/- ## ============================================ + Coverage 78.90% 79.18% +0.28% - Complexity 1965 1987 +22 ============================================ Files 172 174 +2 Lines 6352 6438 +86 Branches 1255 1262 +7 ============================================ + Hits 5012 5098 +86 + Misses 867 864 -3 - Partials 473 476 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.