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?
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.lookupin my code?