Skip to content

How can I resolve all references in a schema? #542

Closed
@Zac-HD

Description

@Zac-HD

I would like to take a schema that may have local or remote references, and return an equivalent schema that does not use any references at all. This would be really useful for hypothesis-jsonschema, but I have no idea how to do it with RefResolver - I can't tell from the docs whether this is even something it should do.

Maybe related to python-jsonschema/referencing#3? Any advice would be appreciated - I'd also be happy to e.g. ban remote references or local ids if that would help. I sketched an idea for the quick-and-dirty on python-jsonschema/hypothesis-jsonschema#6 but would prefer an upstream implementation if possible 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementSome new desired functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions