You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this really useful library! I was just wondering if this library supports relative references? The following is an example of what I'm trying to achieve:
It seems Root resolves to [] whereas I was expecting it to be { name: string; age: number; }[]. I'm not really sure how references is supposed to work at this point. Any help would be greatly appreciated!
Good catch 👍 It seems like relative references work but only one-level deep (the README example works but not yours), probably because the $id is built by prefixing by the $ref prefix (here http://example.com/schemas/), which is not passed to the second reference.
Thanks for this really useful library! I was just wondering if this library supports relative references? The following is an example of what I'm trying to achieve:
Version
2.7.2
currently resolvesRoot
tonever
, whereas I was expecting it to resolve tonumber
.The text was updated successfully, but these errors were encountered: