Apply defaults nested within an object
1602 opened this issue · 0 comments
1602 commented
It seems like when there's a nested default within an object, object should be created even when there's no default on object level.
Example schema
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
}
}
}
Should produce object after validation
{
"enabled": false
}