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