File tree 2 files changed +9
-12
lines changed
2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 13
13
14
14
# 版本基础
15
15
16
- - Spring Boot:1.5.x
17
- - Swagger:2.9.x
16
+ - Swagger:2.9.2
18
17
19
18
# 如何使用
20
19
21
20
在该项目的帮助下,我们的Spring Boot可以轻松的引入swagger2,主需要做下面两个步骤:
22
21
23
22
- 在` pom.xml ` 中引入依赖:
24
23
25
- > 当前最新版本 1.7.1.RELEASE
26
-
27
24
``` xml
28
25
<dependency >
29
26
<groupId >com.spring4all</groupId >
30
27
<artifactId >swagger-spring-boot-starter</artifactId >
31
- <version >1.7.1 .RELEASE</version >
28
+ <version >1.8.0 .RELEASE</version >
32
29
</dependency >
33
30
```
34
31
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.spring4all</groupId >
8
8
<artifactId >swagger-spring-boot-starter</artifactId >
9
- <version >1.7.1 .RELEASE</version >
9
+ <version >1.8.0 .RELEASE</version >
10
10
11
11
<name >spring-boot-starter-swagger</name >
12
12
<url >https://github.com/SpringForAll/spring-boot-starter-swagger</url >
48
48
<properties >
49
49
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
50
50
<version .java>1.8</version .java>
51
- <version .swagger>2.9.0 </version .swagger>
51
+ <version .swagger>2.9.2 </version .swagger>
52
52
<version .spring-boot>1.5.10.RELEASE</version .spring-boot>
53
53
<version .lombok>1.16.18</version .lombok>
54
54
</properties >
64
64
<artifactId >spring-boot-configuration-processor</artifactId >
65
65
<optional >true</optional >
66
66
</dependency >
67
+ <dependency >
68
+ <groupId >org.springframework.boot</groupId >
69
+ <artifactId >spring-boot-starter-web</artifactId >
70
+ <optional >true</optional >
71
+ </dependency >
67
72
<dependency >
68
73
<groupId >io.springfox</groupId >
69
74
<artifactId >springfox-swagger-ui</artifactId >
85
90
<version >${version.lombok} </version >
86
91
<scope >provided</scope >
87
92
</dependency >
88
- <dependency >
89
- <groupId >org.springframework.boot</groupId >
90
- <artifactId >spring-boot-starter-web</artifactId >
91
- <optional >true</optional >
92
- </dependency >
93
93
</dependencies >
94
94
95
95
<dependencyManagement >
You can’t perform that action at this time.
0 commit comments