Skip to content

Validator Checks do Not Support Certain $refs #358

@BrodBlox09

Description

@BrodBlox09

Describe the bug
The test/src/validator.test.ts file does not support $refs where both a relative path and a JSON pointer (e.g. "./path/to/json.json#/definitions/some-definition") are used.

To Reproduce
Steps to reproduce the behavior:

  1. Fork this repository
  2. Make some commit involving a "$ref" property with both a relative file path and a JSON pointer in use to a JSON schema
  3. create a PR
  4. See error after validator checks fail

Expected behavior
Checks should pass.

Additional context
Found after trying to submit a PR with a few $refs that fit this description.

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