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 reference objects

See original GitHub issue

OASGraph can only handle local reference objects as of now. To add external references, we may need to use a REST client.

For example…

Relative link:

$ref: '#/components/schemas/Address'

External link:

$ref: http://example.org/petapi-examples/openapi.json#/components/examples/name-example

Source


If we want to use a REST client to solve this issue, then we may be able to resolve other issues revolving around using a REST client (like express and express-graphql) to support the CLI.

See issue #30 and issue #59


Related: issue #64

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
kanben-acommented, May 10, 2019

@Alan-Cha Yes, this module looks good. But sorry for being imprecise- with local refs I meant refs to another file in the same directory.

0reactions
Alan-Chacommented, Jul 12, 2019

One problem with using this module is that we use references as one of our main sources for generating type names. We also need to be careful with printing the schema during logging, which definitely happens in the code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

To Attach Property Sets to Objects From External References
Use this procedure to attach property sets to objects in external references. This topic explains the following procedures:.
Read more >
Blocks and external references - WisDOT C3DKB home
Both Block References (aka Blocks) and External References (aka Xrefs) allow you to bring previously created, external objects into your ...
Read more >
Using and Modifying External References in AutoCAD
External references keep drawings organized and free of unnecessary details to help with collaborative projects.
Read more >
Working With External References (Xrefs) - Land FX
"External Reference" ("Xref") is just fancy AutoCAD-speak for a document you attach to a drawing. When you Xref a file into your drawing, ......
Read more >
AutoCAD Architecture External References in ACA - Issuu
You can isolate individual objects within an external reference by opening the external reference, isolating and hiding objects as needed, saving the external...
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