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.

How are external references supposed to be treated?

See original GitHub issue

When running convertFile over (a local clone of) https://github.com/Azure/azure-rest-api-specs/blob/master/arm-apimanagement/2016-10-10/swagger/apimnetworkstatus.json#L49, I get

Error: Could not resolve reference ./apimanagement.json#/parameters/SubscriptionIdParameter

Ideally (from our perspective 😄) those references would be converted blindly, i.e. without touching the external file, but converting the #/... part assuming that the external file undergoes the same conversion.

I see things like common.resolveExternal if resolve is activated (which throws another Error for me), but also that looks as if it would touch the external file. I’d love to contribute, but wanted to hear your side of the story, maybe there is already something in place I’m unaware of. 🙂

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
MikeRalphsoncommented, Jun 27, 2017

Should be fixed in v2.5.0

0reactions
olydiscommented, Jun 28, 2017

Awesome, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolving external references - IBM
Automatic library call can resolve an external reference when: The external reference is a member name or an alias of a module in...
Read more >
Elements of reference list entries - APA Style
Reference list entries include the four elements of the author, date, title, and source. This page describes each element in detail:.
Read more >
Citing Sources in Presentations - External Analysis Research
Photographs are treated as figures in APA Style. Therefore, the citation for the source of the image is included as a footnote in...
Read more >
Getting Started with External Reference Files - YouTube
Subscribe to AutoCADExchange to be the first to know about new AutoCAD features and tutorials. Click here to subscribe: ...
Read more >
Excel reference to another sheet or workbook (external ...
See how to create external reference in Excel: reference another sheet, refer to a range of cells or defined name in a different...
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