Commit d3801001 authored by Boris Kocherov's avatar Boris Kocherov

add comment

parent 80c7121a
...@@ -585,6 +585,7 @@ ...@@ -585,6 +585,7 @@
} else { } else {
schema_p = schema_path; schema_p = schema_path;
} }
// XXX check oneOf anyOf allOf length >= 1 and generate exception if not
if (schema.anyOf !== undefined) { if (schema.anyOf !== undefined) {
return anyOf(g, schema.anyOf, schema_p + '/anyOf', path, schema); return anyOf(g, schema.anyOf, schema_p + '/anyOf', path, 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