(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{440:function(t,s,a){"use strict";a.r(s);var e=a(42),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"v1-7-7-2018-07-25-修复js内存溢出"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#v1-7-7-2018-07-25-修复js内存溢出"}},[t._v("#")]),t._v(" [v1.7.7-2018/07/25 修复JS内存溢出]")]),t._v(" "),a("p",[t._v("swagger-bootstrap-ui 1.7.7 发布了。swagger-bootstrap-ui 是 Swagger 的前端 UI 实现，目的是替换 Swagger 默认的 UI 实现 Swagger-UI，使文档更友好一点儿")]),t._v(" "),a("p",[t._v("该版本基本是fixed版本，修复了很多bug，针对全局参数这种新特性，影响比较大,建议升级")]),t._v(" "),a("p",[t._v("swagger-bootstrap-ui 1.7.7 主要更新如下：")]),t._v(" "),a("p",[t._v("1、fixed 对象ref应用本身，JS 出现死循环了么，栈内存溢出BUG")]),t._v(" "),a("p",[t._v("2、优化递归查找ref方法,fixed ref自身引用,相互引用的情况下,文档出不来bug")]),t._v(" "),a("p",[t._v("3、响应json属性太多，文档太长,不利于查看,使用jsonview插件格式化,可收缩,便于查看")]),t._v(" "),a("p",[a("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.7.7-issue/json.png",alt:""}})]),t._v(" "),a("p",[t._v("4、fixed 对象属性值存在required属性时,值显示不对bug")]),t._v(" "),a("p",[t._v("5、兼容firefox,文档菜单换行显示异常问题")]),t._v(" "),a("p",[a("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.7.7-issue/firefox.png",alt:""}})]),t._v(" "),a("p",[t._v("6、新增枚举请求参数类型支持,调试页面枚举类型为下拉框")]),t._v(" "),a("p",[a("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.7.7-issue/enum.png",alt:""}})]),t._v(" "),a("p",[t._v("7、fixed 请求swagger-resources接口响应为string类型，文档无法展示,格式化json展示文档")]),t._v(" "),a("p",[t._v("8、fixed 全局参数重新赋值无效")]),t._v(" "),a("p",[t._v("9、fixed 针对@ApiOperation注解自定义tags接口无法显示bug")]),t._v(" "),a("p",[a("strong",[t._v("Maven坐标")])]),t._v(" "),a("div",{staticClass:"language-xml extra-class"},[a("pre",{pre:!0,attrs:{class:"language-xml"}},[a("code",[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("dependency")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n   "),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("groupId")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("com.github.xiaoymin"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("groupId")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n   "),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("artifactId")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("swagger-bootstrap-ui"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("artifactId")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n   "),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("version")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("1.7.7"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("version")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token tag"}},[a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("dependency")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n")])])]),a("p",[a("strong",[t._v("码云")]),t._v("：https://gitee.com/xiaoym/swagger-bootstrap-ui")]),t._v(" "),a("p",[a("strong",[t._v("GITHUB")]),t._v(":https://github.com/xiaoymin/Swagger-Bootstrap-UI")]),t._v(" "),a("p",[t._v("欢迎提BUG给我~~~~")]),t._v(" "),a("p",[a("strong",[t._v("相关链接")])]),t._v(" "),a("ul",[a("li",[t._v("swagger-bootstrap-ui 的详细介绍："),a("a",{attrs:{href:"https://www.oschina.net/p/swagger-bootstrap-ui",target:"_blank",rel:"noopener noreferrer"}},[t._v("点击查看"),a("OutboundLink")],1)]),t._v(" "),a("li",[t._v("swagger-bootstrap-ui 的下载地址："),a("a",{attrs:{href:"https://git.oschina.net/xiaoym/swagger-bootstrap-ui/releases",target:"_blank",rel:"noopener noreferrer"}},[t._v("点击下载"),a("OutboundLink")],1)])]),t._v(" "),a("comment-comment")],1)}),[],!1,null,null,null);s.default=n.exports}}]);