blob: 3025bf567c84d98e4b5a5a6e2c58c95c62011da4 [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",
"minimum": 50,
"exclusiveMinimum": true
},
"b": {
"type": "number",
"maximum": 10,
"exclusiveMaximum": true
}
}
},
"Blocks": {
"type": "object",
"required": [
"block1"
],
"properties": {
"block1": {
"$ref": "#/components/schemas/Block"
}
}
}
}
}
}