blob: 76b3d29d12e8edfdffe16fab2fdfe55b7a5309b6 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "test",
"version": "v1"
},
"components": {
"schemas": {
"MyStruct": {
"type": "object",
"required": [
"mediumNum",
"smallNum",
"float",
"double",
"deprecatedField"
],
"properties": {
"mediumNum": {
"type": "integer",
"format": "int32"
},
"smallNum": {
"type": "integer"
},
"float": {
"type": "number",
"format": "float"
},
"double": {
"type": "number",
"format": "double"
},
"deprecatedField": {
"type": "string",
"format": "string",
"deprecated": true
}
}
}
}
}
}