referencing icon indicating copy to clipboard operation
referencing copied to clipboard

Any way to get a canonical URI for an object resolved by a resolver?

Open taminomara opened this issue 4 months ago • 0 comments

Hi!

I'm writing a documentation tool for our configs. Basically I'm iterating over a json schema and resolve $refs via a resolver. Whenever I resolve a new $ref, I need to decide whether to inline its contents or document it as a separate entry. For this, I need to know where said ref leads, i.e. transform it to an absolute URI (possible with an anchor).

Is there a way to do so without re-implementing Resolver.lookup in my code?

taminomara avatar Aug 18 '25 11:08 taminomara