679 Star 5.3K Fork 1.1K

GVP萧明 / knife4j

 / 详情

swagger-bootstrap-ui 1.9.6在显示时会在响应里加上双引号,导致json格式错误

Done
Opened this issue  
2019-09-16 11:55

输入图片说明

Comments (3)

易水风萧 created任务

后台的代码是怎样的?能贴一下么

@萧明 后台是很普通的springmvc代码,控制层通过 @ResponseBody注解返回统一响应对象> Response,经过测试发现该问题似乎是因为requtest-id中间的连接符引起的。此外,1.9.4版本是正常的,无此问题。

萧明 changed issue state from 待办的 to 进行中
萧明 changed issue state from 进行中 to 已完成

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
118100 xiaoym 1578918321 400404 zhiyubujian 1578922729
Java
1
https://gitee.com/xiaoym/knife4j.git
git@gitee.com:xiaoym/knife4j.git
xiaoym
knife4j
knife4j

Search

184635 d8eb8a04 1850385 161156 f1cf3f24 1850385