Skip to content
Snippets Groups Projects
Commit dde60b47 authored by Alvaro Cabrera Durán's avatar Alvaro Cabrera Durán
Browse files

Increase generation of referenced schemas

parent 4ccf7c96
Branches
Tags
No related merge requests found
......@@ -138,7 +138,7 @@ function run(refs, schema, container) {
if (parentSchema.required.includes(index)) return sub;
}
if (sub.$ref === '#' || (++depth > random.number(0, 1))) {
if (sub.$ref === '#' || (++depth > random.number(1, 2))) {
delete sub.$ref;
return sub;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment