Skip to content

Check all $refs are resolvable #115

Closed
@rhiaro

Description

@rhiaro

I've added 5 json schemas which cross-reference each other and refer to $defs in the same file using $ref into a Registry. Is there a straightforward way to check if all of the $refs resolve successfully? I can of course use resolver.lookup() on individual paths - I'd like that, but automatically, for all $refs. I've spent some time looking at the docs and code for this library and haven't figured it out, but apologies if I've missed something obvious. (If not, I guess I need to use jsonref for this?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions