docs: fix example for additionalProperties keyword

master
Evgeny Poberezkin 2017-05-03 21:59:23 +01:00
parent 78fffde293
commit 6f0ff642cc
1 changed files with 8 additions and 4 deletions

View File

@ -531,12 +531,16 @@ __Examples__
}, },
"additionalProperties": false, "additionalProperties": false,
"anyOf": [ "anyOf": [
{
"properties": { "properties": {
"bar": { "type": "number" } "bar": { "type": "number" }
}
}, },
{
"properties": { "properties": {
"baz": { "type": "number" } "baz": { "type": "number" }
} }
}
] ]
} }
``` ```