You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a local schema reference an public schema, it can find it, but when this public schema reference another public one, it's resolved wrong with a mix of local and public path in the lookup.
WARNING:root:Error loading schema from uri {/MY/LOCAL/PATH}https://public.website.com/schema/sub/test.json: [Errno 2] No such file or directory: '{/MY/LOCAL/PATH}https://public.website.com/schema/sub/test.json'
Traceback (most recent call last):
File "/lib/python3.11/site-packages/json_schema_for_humans/schema/intermediate_representation.py", line 377, in _load_schema
path_part_int = int(path_part)
^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'properties'
I tried setting the $id of files to the public URL and tried to give the full URL for sub/test.json $ref, but it does not help
The text was updated successfully, but these errors were encountered:
When a local schema reference an public schema, it can find it, but when this public schema reference another public one, it's resolved wrong with a mix of local and public path in the lookup.
example:
local.json
remote.json
sub/test.json
it fails with:
I tried setting the
$id
of files to the public URL and tried to give the full URL forsub/test.json
$ref, but it does not helpThe text was updated successfully, but these errors were encountered: