2017年11月16日

摘要: 阅读全文
posted @ 2017-11-16 14:42 admingy 阅读(1360) 评论(0) 推荐(0) 编辑
摘要: 常用到的注解有: Api ApiModel ApiModelProperty ApiOperation ApiParam ApiResponse ApiResponses ResponseHeader 1. api标记 Api 用在类上,说明该类的作用。可以标记一个Controller类做为swag 阅读全文
posted @ 2017-11-16 10:57 admingy 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.jianshu.com/p/8033ef83a8ed 下面来具体介绍,如果在Spring Boot中使用Swagger2。首先,我们需要一个Spring Boot实现的RESTful API工程,若您没有做过这类内容,建议先阅读Spring Boot构建一个较为完成的RE 阅读全文
posted @ 2017-11-16 10:52 admingy 阅读(332) 评论(0) 推荐(0) 编辑

导航