Closed joshtemple closed 5 years ago
I think a better approach might be to figure out exactly how the RefResolver
in jsonschema works.
In the meantime I think this change makes sense and we can continue to add additional support on an as needed basis.
Thanks :+1:
Released in v5.4.1
I found that the
resolve_schema_references
method doesn't expand JSON schema references inanyOf
blocks. I added a newSchemaKey
to make sure we recursively expand those$ref
blocks.Are there other keys we should also think about (e.g.
allOf
,oneOf
)? Is there a more generalized approach used elsewhere in Singer for navigating the tree we should consider?