Skip to content

Commit

Permalink
Added logic to dereference.js to more gracefully handle direct circ…
Browse files Browse the repository at this point in the history
…ular $refs. It now replaces the original $ref path with one that is relative to the root of the JSON Schema
  • Loading branch information
JamesMessinger committed Jan 4, 2016
1 parent ca9b322 commit 030f604
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ helper.dereferenced.circularExternal =
},
},
"thing": {
"$ref": "circular-external.yaml#/definitions/thing"
"$ref": "#/definitions/thing"
},
"person": {
"title": "person",
Expand Down

0 comments on commit 030f604

Please sign in to comment.