blob: 8ccb0f30fc496ea15b30e04b00ec55c33a25efb6 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "test",
"version": "v1"
},
"components": {
"schemas": {
"MyStruct": {
"type": "object",
"required": [
"mediumNum",
"smallNum",
"float",
"double"
],
"properties": {
"mediumNum": {
"type": "integer",
"format": "int32"
},
"smallNum": {
"type": "integer",
"minimum": -128,
"maximum": 127
},
"float": {
"type": "number",
"format": "float"
},
"double": {
"type": "number",
"format": "double"
}
}
}
}
}
}