Skip to content

Commit 3ba0a13

Browse files
authored
Merge pull request #110 from SpringForAll/1.7.x
1.8.0
2 parents a86a04f + f262848 commit 3ba0a13

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

Diff for: README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,19 @@
1313

1414
# 版本基础
1515

16-
- Spring Boot:1.5.x
17-
- Swagger:2.9.x
16+
- Swagger:2.9.2
1817

1918
# 如何使用
2019

2120
在该项目的帮助下,我们的Spring Boot可以轻松的引入swagger2,主需要做下面两个步骤:
2221

2322
-`pom.xml`中引入依赖:
2423

25-
> 当前最新版本 1.7.1.RELEASE
26-
2724
```xml
2825
<dependency>
2926
<groupId>com.spring4all</groupId>
3027
<artifactId>swagger-spring-boot-starter</artifactId>
31-
<version>1.7.1.RELEASE</version>
28+
<version>1.8.0.RELEASE</version>
3229
</dependency>
3330
```
3431

Diff for: pom.xml

+7-7
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.1.RELEASE</version>
9+
<version>1.8.0.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.9.0</version.swagger>
51+
<version.swagger>2.9.2</version.swagger>
5252
<version.spring-boot>1.5.10.RELEASE</version.spring-boot>
5353
<version.lombok>1.16.18</version.lombok>
5454
</properties>
@@ -64,6 +64,11 @@
6464
<artifactId>spring-boot-configuration-processor</artifactId>
6565
<optional>true</optional>
6666
</dependency>
67+
<dependency>
68+
<groupId>org.springframework.boot</groupId>
69+
<artifactId>spring-boot-starter-web</artifactId>
70+
<optional>true</optional>
71+
</dependency>
6772
<dependency>
6873
<groupId>io.springfox</groupId>
6974
<artifactId>springfox-swagger-ui</artifactId>
@@ -85,11 +90,6 @@
8590
<version>${version.lombok}</version>
8691
<scope>provided</scope>
8792
</dependency>
88-
<dependency>
89-
<groupId>org.springframework.boot</groupId>
90-
<artifactId>spring-boot-starter-web</artifactId>
91-
<optional>true</optional>
92-
</dependency>
9393
</dependencies>
9494

9595
<dependencyManagement>

0 commit comments

Comments
 (0)