随笔分类 -  接口文档

摘要:1.安装swagger-php插件 composer require zircote/swagger-php 2.下载swagger-ui https://pan.baidu.com/s/1GcRe6VAYYLoe6XWOuib97w 3.生成swagger.json php /opt/lampp/ 阅读全文
posted @ 2018-08-11 10:41 sunan 阅读(690) 评论(0) 推荐(0)
摘要:1.环境搭建 1.1 引入依赖 1.2 创建Swagger2, 和SpringbootApplication同级 访问: http://localhost/swagger-ui.html 2.@ApiModelProperty 效果如下: 3.Swagger2 基本使用 错误 在使用SpringBo 阅读全文
posted @ 2018-08-10 16:38 sunan 阅读(902) 评论(0) 推荐(0)