json_schema_tools
json_schema_tools copied to clipboard
Not all $refs get expanded when reading schema files.
You can try it with schemas from https://github.com/fidor/fidor_schema.
thanks, seems to be related to the recursion int the nested folder structure: https://github.com/fidor/fidor_schema/blob/master/schema/v1.0/lists/accounts.json#L10
Taking a look at it. Thanks
pushed an update, but there are now problems with circular dependencies:
When parsing this: https://github.com/fidor/fidor_schema/blob/master/schema/v1.0/lists/accounts.json#L10 => requires account.json https://github.com/fidor/fidor_schema/blob/master/schema/v1.0/account.json#L93 =>refs accounts.json
also opened a ticket over there: https://github.com/fidor/fidor_schema/issues/4