我从apifox中导出了openapi v2、v3.0、v3.1标准的json文件,分别尝试导入apipost,结果导入后均无法识别responses定义的响应字段信息。导入的responses部分内容如下:
{
"responses": {
"200": {
"description": "成功",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "响应码"
},
"msg": {
"type": "string",
"description": "提示信息"
},
"payload": {
"type": "object",
"properties": {
"affected": {
"type": "integer",
"description": "发送成功的数量"
}
},
"description": "有效载荷",
"required": [
"affected"
],
"x-apifox-ignore-properties": [],
"x-apifox-orders": [
"affected"
]
}
},
"required": [
"code",
"msg"
],
"x-apifox-ignore-properties": [],
"x-apifox-orders": [
"code",
"msg",
"payload"
]
}
}
}
}
}
}
可实际apipost实际给我呈现地驴唇不对马嘴
希望能尽快修复下这个bug,方便我迁移到apipost,感谢!
辛苦加一下微信,协助咱们处理一下问题