triggerdotdev/jsonhero-web

Add ability to jump from a `$ref` to the location in the document if it exists

ericallam opened this issue · 2 comments

Screenshot from 2022-10-13 20-47-01
I plan to redirect when the user clicks on the value part. Would that work?

Should the redirect work only when the key value is $ref? What should be the behaviour when the path does not exist?

Yea I think the key has to be $ref, and I think nothing should happen if the path does not exist (or check the path exists before making the ref value a link?