(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{441:function(t,a,s){"use strict";s.r(a);var e=s(42),n=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-7-8-2018-08-03-文件上传支持"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#v1-7-8-2018-08-03-文件上传支持"}},[t._v("#")]),t._v(" [v1.7.8-2018/08/03 文件上传支持]")]),t._v(" "),s("p",[t._v("swagger-bootstrap-ui 1.7.8 发布了。swagger-bootstrap-ui 是 Swagger 的前端 UI 实现，目的是替换 Swagger 默认的 UI 实现 Swagger-UI，使文档更友好一点儿")]),t._v(" "),s("p",[t._v("swagger-bootstrap-ui 1.7.8 主要更新如下：")]),t._v(" "),s("p",[t._v("1、fixed 针对@RequestBody注解实体类属性required的值一直显示默认false问题")]),t._v(" "),s("p",[t._v('2、fixed 针对文件上传,使用allowMultiple = true,上传按钮不显示bug,推荐使用@ApiImplicitParam注解,并且指定dataType = "MultipartFile"')]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.7.8-issue/upload.png",alt:""}})]),t._v(" "),s("p",[t._v("3、分组接口移动至顶部,菜单列表添加icon图标,移除简介页的软件介绍信息,丰富简介页信息,新增各类型接口统计信息,菜单简介名称更名为主页")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.7.8-issue/main.png",alt:""}})]),t._v(" "),s("p",[t._v("4、增加调试参数记忆功能,下次点击该接口时,上次输入的参数会保存继续可使用")]),t._v(" "),s("p",[t._v("5、优化 针对@RequestBody注解,参数使用默认description的问题,将使用@ApiModel注解实体类上的description属性")]),t._v(" "),s("p",[s("img",{attrs:{src:"/knife4j/images/blog/swagger-bootstrap-ui-1.7.8-issue/des.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.7.8"),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("欢迎提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=n.exports}}]);