Open jianyexi opened 2 years ago
the resolver can not resolve reference which is specified as local file URL , like
$ref: file:///C:/foo.json
will return error
''#/inner' does not exist @ 'c:/model/b.json''
C:/model/a.json { foo: { "$ref":"file:///C:/b.json" } }
C:/aotherModel/b.json { foo: { .... } }
## Expected behavior can resolve it correctly **Screenshots** **Environment (remove any that are not applicable):** - Library version: [e.g. 3.0.0] - OS: [Windows 11]
Describe the bug
the resolver can not resolve reference which is specified as local file URL , like
$ref: file:///C:/foo.json
will return error
To Reproduce
C:/aotherModel/b.json { foo: { ....
} }