内容简介:swagger-bootstrap-ui 1.7.6 发布了。swagger-bootstrap-ui 是 Swagger 的前端 UI 实现,目的是替换 Swagger 默认的 UI 实现 Swagger-UI,使文档更友好一点儿 该版本基本是fixed版本,修复了很多bug,针对全局参...
swagger-bootstrap-ui 1.7.6 发布了。swagger-bootstrap-ui 是 Swagger 的前端 UI 实现,目的是替换 Swagger 默认的 UI 实现 Swagger-UI,使文档更友好一点儿
该版本基本是fixed版本,修复了很多bug,针对全局参数这种新特性,影响比较大,建议升级
swagger-bootstrap-ui 1.7.6 主要更新如下:
1、fixed 全局默认参数,设置值无效问题
2、add 简介页添加basePath属性
3、fixed 响应类型是Ref引用属性,在响应json中未列出属性
4、fixed 默认值未显示,swagger 2.9.2版本响应json的默认值为x-example属性
5、fixed tags存在大写的情况不显示接口 bug,在swagger2.9.2版本测试时,swagger又将后台的tags改为区分大小写了,所以建议升级swagger版本到最新
6、fixed 相同url地址,不同method类型,接口未展示bug
7、fixed 请求参数为ref引用类型时,文档列出请求类型和schema类型一致,显示schema类型
8、tip:推荐使用chrome浏览器,别的浏览器可能有js、css兼容问题,文档效果未到最佳
9、tip:建议swagger版本升级到2.9.2
<!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency>
Maven坐标
<dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> <version>1.7.6</version> </dependency>
欢迎提BUG~~~~
还未给swagger-bootstrap-ui点过赞的朋友,前往https://gitee.com/xiaoym/swagger-bootstrap-ui给个Star吧~~ :)
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上所述就是小编给大家介绍的《swagger-bootstrap-ui 1.7.6 发布,Swagger 前端 UI 实现》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Learn Python 3 the Hard Way
Zed A. Shaw / Addison / 2017-7-7 / USD 30.74
You Will Learn Python 3! Zed Shaw has perfected the world’s best system for learning Python 3. Follow it and you will succeed—just like the millions of beginners Zed has taught to date! You bring t......一起来看看 《Learn Python 3 the Hard Way》 这本书的介绍吧!