File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1414# 版本基础
1515
1616- Spring Boot:1.5.x
17- - Swagger:2.8 .x
17+ - Swagger:2.9 .x
1818
1919# 如何使用
2020
2121在该项目的帮助下,我们的Spring Boot可以轻松的引入swagger2,主需要做下面两个步骤:
2222
2323- 在` pom.xml ` 中引入依赖:
2424
25- > 当前最新版本 1.7.0 .RELEASE
25+ > 当前最新版本 1.7.1 .RELEASE
2626
2727``` xml
2828<dependency >
2929 <groupId >com.spring4all</groupId >
3030 <artifactId >swagger-spring-boot-starter</artifactId >
31- <version >1.7.0 .RELEASE</version >
31+ <version >1.7.1 .RELEASE</version >
3232</dependency >
3333```
3434
Original file line number Diff line number Diff line change 66
77 <groupId >com.spring4all</groupId >
88 <artifactId >swagger-spring-boot-starter</artifactId >
9- <version >1.7.0 .RELEASE</version >
9+ <version >1.7.1 .RELEASE</version >
1010
1111 <name >spring-boot-starter-swagger</name >
1212 <url >https://github.com/SpringForAll/spring-boot-starter-swagger</url >
4848 <properties >
4949 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
5050 <version .java>1.8</version .java>
51- <version .swagger>2.8 .0</version .swagger>
51+ <version .swagger>2.9 .0</version .swagger>
5252 <version .spring-boot>1.5.10.RELEASE</version .spring-boot>
5353 <version .lombok>1.16.18</version .lombok>
5454 </properties >
119119 </plugin >
120120 </plugins >
121121 </build >
122+
123+ <repositories >
124+ <repository >
125+ <id >jcenter-snapshots</id >
126+ <name >jcenter</name >
127+ <url >https://jcenter.bintray.com/</url >
128+ </repository >
129+ </repositories >
122130</project >
You can’t perform that action at this time.
0 commit comments