Skip to content

Commit a86a04f

Browse files
author
程序猿DD-翟永超
authored
Merge pull request #87 from SpringForAll/1.7.x
升级swagger2.9.0
2 parents 53c410d + e4148bf commit a86a04f

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
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

pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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>
@@ -48,7 +48,7 @@
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>
@@ -119,4 +119,12 @@
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>

0 commit comments

Comments
 (0)