Directly edit the swagger document in json mode. How to write the comment that returns json?
女神的闺蜜爱上我2017-07-01 09:13:52
Solve it yourself:
"definitions": {
"ownerNumer": {
"type": "object",
"properties": {
"status": {
"type": "integer",
"format": "int64",
"description": "状态:0正常1异常"
},
"number": {
"type": "integer",
"format": "int64",
"description": "用户数量"
}
}
}
},
伊谢尔伦2017-07-01 09:13:52
Recommend you a website https://app.stoplight.io/ You can edit the swagger file directly on this website