blob: 1fc5e567b123adc1abd2fe14ab66cf8a7ba9bc17 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "test",
"version": "v1"
},
"paths": {},
"components": {
"schemas": {
"Blocks": {
"type": "object",
"required": [
"block1"
],
"properties": {
"block1": {
"$ref": "#/components/schemas/Block"
}
}
},
"Block": {
"type": "object",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "number",
"exclusiveMinimum": 50
},
"b": {
"type": "number",
"exclusiveMaximum": 10
}
}
}
}
}
}