swagger
带着聊考的牛马
这个作者很懒,什么都没留下…
展开
-
学习篇:基于swagger2.7.0-集成springboot2.1.x
文章目录一、springBoot集成swagger1. 集成方式2. 注入swagger配置bean一、springBoot集成swagger参看文档:https://springfox.github.io/springfox/docs/current/#springfox-swagger-ui1. 集成方式Maven集成<dependency> <grou...原创 2019-08-17 01:10:13 · 2330 阅读 · 0 评论 -
学习篇:基于swagger2.7.0和springboot2.1.x实现国际化
文章目录一、swagger国际化一、swagger国际化最新版2.9.2 文件目录有改造,暂未找到如果操作国际化基于2.7.0版本的国际化如下:新建目录:META-INF/resourcesMETA-INF/resources/webjars/springfox-swagger-ui/lang拷贝相应文件:在swagger-ui.html中引入js: <!--国际...原创 2019-08-17 01:14:35 · 2315 阅读 · 0 评论 -
学习篇:基于swagger2.7.0和springboot2.1.x实现swagger配置模块化引用
文章目录一、配置模块引用二、个性化配置三、解决spring boot1.5以上版本@ConfigurationProperties提示“Spring Boot Configuration Annotation Processor not.."一、配置模块引用方式一 引用注解依赖配置模块:引入配置:方式二 自定义注解方式方式三 配置spring.factories文件...原创 2019-08-17 01:19:19 · 1775 阅读 · 0 评论