APIDevTools / json-schema-ref-parser

Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers
https://apitools.dev/json-schema-ref-parser
MIT License
942 stars 226 forks source link

Convert relative refs when resolving an external schema #322

Closed mikethecalamity closed 11 months ago

mikethecalamity commented 11 months ago

Possibly corrects https://github.com/APIDevTools/json-schema-ref-parser/issues/200.

This however causes tests to fail as they’re not expecting the references to be resolved. I’m not sure yet how to fix the tests. I thought I’d wait to see if the fix is valid!