-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "one_of_fail",
"properties": {
"hosts": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
}
}
}Fails with:
property_type = property_["type"]
KeyError: 'type'
If we add type to it, it still fails, as it expects $ref in the oneOf items.
Metadata
Metadata
Assignees
Labels
No labels