Skip to content

Commit 1bd4b4b

Browse files
author
Xiong Neng
committed
完成springboot-swagger2升级重构
1 parent e656d46 commit 1bd4b4b

File tree

6 files changed

+8
-53
lines changed

6 files changed

+8
-53
lines changed

springboot-socketio/src/main/resources/application.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,4 @@ logging:
2626
ROOT: INFO
2727
com:
2828
xncoding: DEBUG
29-
file: E:/logs/app.log
30-
31-
---
32-
33-
#####################################################################
34-
######################## 测试环境profile ##########################
35-
#####################################################################
36-
37-
spring:
38-
profiles: test
39-
40-
logging:
41-
level:
42-
ROOT: INFO
43-
com:
44-
xncoding: DEBUG
45-
file: /var/logs/app.log
29+
file: D:/logs/app.log

springboot-swagger2/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
集成Swagger2自动生成API文档,同时可转换成PDF格式
55

6+
启动应用后访问:http://localhost:9095/swagger-ui.html
7+
68
## 许可证
79

810
Copyright (c) 2018 Xiong Neng

springboot-swagger2/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
<dependency>
7373
<groupId>io.springfox</groupId>
7474
<artifactId>springfox-swagger2</artifactId>
75-
<version>2.7.0</version>
75+
<version>2.8.0</version>
7676
</dependency>
7777
<dependency>
78-
<groupId>com.xncoding</groupId>
78+
<groupId>io.springfox</groupId>
7979
<artifactId>springfox-swagger-ui</artifactId>
80-
<version>2.7.0</version>
80+
<version>2.8.0</version>
8181
</dependency>
8282
<dependency>
8383
<groupId>org.pegdown</groupId>

springboot-swagger2/src/main/resources/application.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,4 @@ logging:
2727
ROOT: INFO
2828
com:
2929
xncoding: DEBUG
30-
file: E:/logs/app-api.log
31-
32-
---
33-
34-
#####################################################################
35-
######################## 测试环境profile ##########################
36-
#####################################################################
37-
38-
spring:
39-
profiles: test
40-
41-
logging:
42-
level:
43-
ROOT: INFO
44-
com:
45-
xncoding: DEBUG
46-
file: /var/logs/app-api.log
30+
file: D:/logs/app-api.log

springboot-swagger2/src/test/java/com/xncoding/jwt/ApplicationTests.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

springboot-swagger2/src/test/java/com/xncoding/jwt/Swagger2MarkupTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class Swagger2MarkupTest {
5151
*
5252
* 执行完成后生成PDF文件方法:
5353
*
54-
* 首先在`build/swagger.adoc`的顶部加入:
54+
* 首先在`swagger/swagger.adoc`的顶部加入:
5555
```
5656
:toclevels: 3
5757
:numbered:

0 commit comments

Comments
 (0)