json_schema_tools icon indicating copy to clipboard operation
json_schema_tools copied to clipboard

Not all $refs get expanded when reading schema files.

Open razielgn opened this issue 10 years ago • 2 comments

You can try it with schemas from https://github.com/fidor/fidor_schema.

razielgn avatar Oct 21 '14 09:10 razielgn

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

schorsch avatar Oct 21 '14 11:10 schorsch

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

schorsch avatar Oct 22 '14 07:10 schorsch