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
836 stars 324 forks source link

Fix schema location with hash in fragment #1075

Closed justin-tay closed 3 months ago

justin-tay commented 3 months ago

This fixes the case where the schema location has a # in the fragment for example https://example.com/example.yaml#/paths/~1subscribe/post/callbacks/myEvent/{request.body#~1callbackUrl}/post/requestBody/content/application~1json/schema.

codecov-commenter commented 3 months ago

Codecov Report

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

Project coverage is 77.94%. Comparing base (48ca3c2) to head (38a0b3b). Report is 40 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 #1075 +/- ## ============================================ - Coverage 78.90% 77.94% -0.96% - Complexity 1965 2049 +84 ============================================ Files 172 198 +26 Lines 6352 6851 +499 Branches 1255 1255 ============================================ + Hits 5012 5340 +328 - Misses 867 1032 +165 - Partials 473 479 +6 ```

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