yapi 接口列表中,对于Json中带转义符(\"),则报错

zd287kbt  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(38)

版本号

~ 1.8.3

什么问题

~ 接口列表中,对于GET接口显示不出来。
若出现转义符则报错,去掉则正常,如下:
"res_body": "{ "properties": { "message": { "default": "成功", "description": "返回信息", "type": "string" }, "status": { "default": 10200, "description": "返回值状态码", "type": "string" } }}"

如何复现此问题

~ 。。。 数据管理/数据导入 ,选择Swagger / 开启url导入,填写 .json地址,上传,到数据库中则存在带转义符

什么浏览器

~ Chrome

什么系统(Linux, Windows, macOS)

~ Windows

rpppsulh

rpppsulh1#

  • 不是很能理解?
  • 有什么方法重现吗?

相关问题