Skip to content

jsonschema.generate_validator is not able to resolve the internal schema reference pointing within the same document. #87

@darshak-patel

Description

@darshak-patel

I am reading a schema from open api specification file which contains internal schema references like "$ref": "#/components/schemas/decimal" but when I try to generate validator with jsonschema.generate_validator, it gives me this error "reference not found: root:#/components/schemas/AddFundsTransferRq (at "components"). I also tried using external_resolver but it didn't work.

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