Commit be984cfa authored by Jérome Perrin's avatar Jérome Perrin

expandSchema: fix references definitions

parent 510dd2d1
......@@ -420,7 +420,8 @@
if (referenced.$ref) {
referenced = expandSchema(
full_schema.class_definition[
referenced.$ref.substr(1, referenced.$ref.length)
// 2 here is for #/
referenced.$ref.substr(2, referenced.$ref.length)
],
full_schema);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment