Commit b5991f24 authored by Boris Kocherov's avatar Boris Kocherov

add comment

parent 2e2a05eb
......@@ -267,6 +267,9 @@
}
expandSchema = function (g, schema, schema_path, ref) {
// XXX `if then else` construction can be simplify to
// anyOf(allOf(if_schema, then_schema), else_schema)
// and realized by existed rails
if (schema === undefined) {
schema = true;
}
......
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