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.

External refs not working

See original GitHub issue

If you have ref like this $ref: "common.yaml#/definitions/StatusMessage" you will get this error message:

Resolver error at paths./authenticate.post.responses.401.schema.$ref
Could not resolve reference because of: Tried to resolve a relative URL, without having a basePath. path: 'common.yaml' basePath: 'undefined'
Resolver error at paths./authenticate.post.responses.default.$ref
Could not resolve reference because of: Tried to resolve a relative URL, without having a basePath. path: 'common.yaml' basePath: 'undefined'

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:30
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
siarhei-klimutscommented, Jan 22, 2019

Long time still here. Good reason to use another tool. Could you please increase the priority of this issue?

5reactions
arjun-gcommented, Mar 11, 2019

Hey devs, very sorry for the delayed response. Will try to push a fix for this by this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel External References Do Not Work in Sharepoint
This seems like a major bug if Excel files with external references won't work in Sharepoint. Our teams all work collaboratively from Sharepoint ......
Read more >
Unable to access $refs in component method - Stack Overflow
I am trying to access a ref that is defined within a template, when an element is clicked. Here is my HTML <!DOCTYPE...
Read more >
Locking and Breaking External References - 2019
When you lock the external references on a component, the existing references do not update and you cannot add references to that component....
Read more >
Adding support for external refs · Issue #42 · deepmap/oapi ...
Has the project decided not to add this feature? We are working with amazon eventbridge and dealing with quite a bit schema files....
Read more >
external refs missing, but not showing me where this is ...
Zoom out and check near the Origin. I have seen this often: when you have "use edge" external references, and then later delete...
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