-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
Description
If I have a jsonschema like:
schema = {
"type": "object",
"properties": {
"foo": {
"type": "object",
"properties": {
"bar": {
"type": "string",
"default": "bar"
}
}
},
},
"required": [],
"additionalProperties": False
}
the output of validation will be
{}
instead of
{
foo: {
bar: "bar"
}
}
is there a way to make it so that nested defaults are automatically populated?
paulovcmedeiros