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
860 stars 325 forks source link

Fix evaluationPath and schemaLocation in getSubSchema #1081

Closed justin-tay closed 4 months ago

justin-tay commented 4 months ago

Fix evaluationPath and schemaLocation in getSubSchema when having a number in fragment due to SchemaLocation.of parsing.

codecov-commenter commented 4 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.04%. Comparing base (48ca3c2) to head (2285db0). Report is 46 commits behind head on master.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1081 +/- ## ============================================ - Coverage 78.90% 78.04% -0.86% - Complexity 1965 2065 +100 ============================================ Files 172 201 +29 Lines 6352 6879 +527 Branches 1255 1257 +2 ============================================ + Hits 5012 5369 +357 - Misses 867 1032 +165 - Partials 473 478 +5 ```

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