Skip to content

Commit

Permalink
fix: Change it back '...rest'
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii Fedoseev committed Mar 27, 2024
1 parent 7b78ff2 commit 2052e9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/includer/traverse/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ function prepareObjectSchemaTable(schema: OpenJSONSchema): PrepareObjectSchemaTa
return;
}

result.rows.push([`${bold('oneOf')} ${anchor(ref)}`, value.description || '']);
result.rows.push([
'...rest',
block([`${bold('oneOf')} ${anchor(ref)}`, value.description || '']),
]);

result.refs.push(ref);
});
Expand Down

0 comments on commit 2052e9c

Please sign in to comment.