(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{446:function(t,a,s){"use strict";s.r(a);var e=s(42),r=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"v1-8-1-2018-08-14-修复basepath导致404"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#v1-8-1-2018-08-14-修复basepath导致404"}},[t._v("#")]),t._v(" [v1.8.1-2018/08/14 修复basePath导致404]")]),t._v(" "),s("p",[t._v("swagger-bootstrap-ui 1.8.1 发布了。swagger-bootstrap-ui 是 Swagger 的前端 UI 实现，目的是替换 Swagger 默认的 UI 实现 Swagger-UI，使文档更友好一点儿")]),t._v(" "),s("p",[t._v("swagger-bootstrap-ui 1.8.1 主要更新如下：")]),t._v(" "),s("p",[t._v("1、fixed 针对basePath属性,调试接口重复添加basePath路径,接口报404错误(重大bug,建议升级)")]),t._v(" "),s("p",[t._v("2、fixed 针对@ApiModelProperty注解,针对example属性值,array类型值带单引号,文档无法显示bug")]),t._v(" "),s("p",[t._v("3、fixed 针对404 异常,header-curl tab选项卡切换bug")]),t._v(" "),s("p",[t._v('4、fixed curl -X 参数bug,显示缺少"/"根路径')]),t._v(" "),s("p",[t._v("5、fixed 左侧接口列表滚条无法完全滚动到底部")]),t._v(" "),s("p",[t._v("6、fixed 窗口大小改变后，界面混乱")]),t._v(" "),s("p",[t._v("7、优化菜单做成接口方法类型和接口类型左对齐")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.8.1-issue/left.png",alt:""}})]),t._v(" "),s("p",[t._v("8、fixed 左侧接口列表滚条无法完全滚动到底部")]),t._v(" "),s("p",[t._v("9、优化 针对枚举类型,参数说明显示可用值列表")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.8.1-issue/enum.png",alt:""}})]),t._v(" "),s("p",[t._v("10、表单类型显示header、可提交header信息")]),t._v(" "),s("p",[t._v("11、fixed 基础类型响应数据为空的情况")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.8.1-issue/basic.png",alt:""}})]),t._v(" "),s("p",[s("strong",[t._v("Maven坐标")])]),t._v(" "),s("div",{staticClass:"language-xml extra-class"},[s("pre",{pre:!0,attrs:{class:"language-xml"}},[s("code",[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("dependency")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n   "),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("groupId")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("com.github.xiaoymin"),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("groupId")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n   "),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("artifactId")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("swagger-bootstrap-ui"),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("artifactId")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n   "),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("<")]),t._v("version")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("1.8.1"),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("version")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token tag"}},[s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("</")]),t._v("dependency")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(">")])]),t._v("\n")])])]),s("p",[s("strong",[t._v("码云")]),t._v("：https://gitee.com/xiaoym/swagger-bootstrap-ui")]),t._v(" "),s("p",[s("strong",[t._v("GITHUB")]),t._v(":https://github.com/xiaoymin/Swagger-Bootstrap-UI")]),t._v(" "),s("p",[t._v("在线体验："),s("a",{attrs:{href:"http://swagger-bootstrap-ui.xiaominfo.com/doc.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("http://swagger-bootstrap-ui.xiaominfo.com/doc.html"),s("OutboundLink")],1)]),t._v(" "),s("p",[t._v("欢迎提BUG、Pull Request给我，共同来完善这个小工具~~~~")]),t._v(" "),s("p",[s("strong",[t._v("相关链接")])]),t._v(" "),s("ul",[s("li",[t._v("swagger-bootstrap-ui 的详细介绍："),s("a",{attrs:{href:"https://www.oschina.net/p/swagger-bootstrap-ui",target:"_blank",rel:"noopener noreferrer"}},[t._v("点击查看"),s("OutboundLink")],1)]),t._v(" "),s("li",[t._v("swagger-bootstrap-ui 的下载地址："),s("a",{attrs:{href:"https://git.oschina.net/xiaoym/swagger-bootstrap-ui/releases",target:"_blank",rel:"noopener noreferrer"}},[t._v("点击下载"),s("OutboundLink")],1)])]),t._v(" "),s("comment-comment")],1)}),[],!1,null,null,null);a.default=r.exports}}]);