会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
听歌敲代码
好记性不如烂笔头
博客园
首页
新随笔
联系
订阅
管理
2018年3月26日
SpringBoot(十四)-- 整合Swagger2
摘要: 1.pom依赖 2.Swagger配置类 增加@EnableSwagger2和@Configuration注解 通过@Configuration注解,让Spring来加载该类配置,@EnableSwagger2注解来启用Swagger2。 再通过createRestApi函数创建Docket的Bea
阅读全文
posted @ 2018-03-26 22:31 小葱拌豆腐~
阅读(349)
评论(0)
推荐(0)
编辑
公告