Skip to content

Problem with resolving JSON Schema references #1

Description

@moskal91

There is problem with resolving JSON Schema references, because local file URIs should have triple slashes, third slash is for machine address and means localhost.

Changing line:

resolver = jsonschema.RefResolver('file://{}'.format(self.schema_location), schema)

to

resolver = jsonschema.RefResolver('file:///{}'.format(self.schema_location), schema)

resolves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions