question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

resolve-ref Reference does not exist for paths that contain ~1

See original GitHub issue

If i put ~1 in an external reference, i am getting resolve-ref errors. The file does exist at the path, and other validators validate against this construct OK.

Reference does not exist.

109| 
110|   /v1/adapter/claim:
111|     $ref: "v1/adapter/claim.oas3.yml#/paths/~1adapter~1claim"

Error was generated by resolve-ref rule.```

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
stevenjcommented, Apr 20, 2020

Confirmed 0.12.4 fixes the issue. That was an amazingly fast fix. Thank you.

0reactions
RomanHotsiycommented, Apr 20, 2020

Fixed in 0.12.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fails to resolve correct path/filename for extended $ref #200
I am facing an issue where json-schema-ref-parser creates references that are not supported by AJV and AJV can therefore not resolve them (see...
Read more >
Resolve $ref by relative file path - Stack Overflow
For this, my first intuition was $ref to a path relative to the current file. However, the json-schema way doesn't seem to have...
Read more >
Using $ref - Swagger
According to RFC3986, the $ref string value (JSON Reference) should contain a URI, which identifies the location of the JSON value you are...
Read more >
Troubleshoot broken references - Visual Studio - Microsoft Learn
In the Folder field, type the path of the folder that contains the item you want to reference, and then click the Add...
Read more >
`.gitlab-ci.yml` keyword reference - GitLab Docs
You can't include local files through Git submodules paths. ... There must be at least one other job in a different stage. .pre...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found