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