diff --git a/springboot-socketio/src/main/resources/application.yml b/springboot-socketio/src/main/resources/application.yml index 63c5506..64c456f 100644 --- a/springboot-socketio/src/main/resources/application.yml +++ b/springboot-socketio/src/main/resources/application.yml @@ -26,20 +26,4 @@ logging: ROOT: INFO com: xncoding: DEBUG - file: E:/logs/app.log - ---- - -##################################################################### -######################## 测试环境profile ########################## -##################################################################### - -spring: - profiles: test - -logging: - level: - ROOT: INFO - com: - xncoding: DEBUG - file: /var/logs/app.log + file: D:/logs/app.log diff --git a/springboot-swagger2/README.md b/springboot-swagger2/README.md index d012d5a..6b81346 100644 --- a/springboot-swagger2/README.md +++ b/springboot-swagger2/README.md @@ -3,6 +3,8 @@ 集成Swagger2自动生成API文档,同时可转换成PDF格式 +启动应用后访问:http://localhost:9095/swagger-ui.html + ## 许可证 Copyright (c) 2018 Xiong Neng diff --git a/springboot-swagger2/pom.xml b/springboot-swagger2/pom.xml index 895be86..991e080 100644 --- a/springboot-swagger2/pom.xml +++ b/springboot-swagger2/pom.xml @@ -72,12 +72,12 @@ io.springfox springfox-swagger2 - 2.7.0 + 2.8.0 - com.xncoding + io.springfox springfox-swagger-ui - 2.7.0 + 2.8.0 org.pegdown diff --git a/springboot-swagger2/src/main/resources/application.yml b/springboot-swagger2/src/main/resources/application.yml index 4dea183..05801d7 100644 --- a/springboot-swagger2/src/main/resources/application.yml +++ b/springboot-swagger2/src/main/resources/application.yml @@ -27,20 +27,4 @@ logging: ROOT: INFO com: xncoding: DEBUG - file: E:/logs/app-api.log - ---- - -##################################################################### -######################## 测试环境profile ########################## -##################################################################### - -spring: - profiles: test - -logging: - level: - ROOT: INFO - com: - xncoding: DEBUG - file: /var/logs/app-api.log + file: D:/logs/app-api.log diff --git a/springboot-swagger2/src/test/java/com/xncoding/jwt/ApplicationTests.java b/springboot-swagger2/src/test/java/com/xncoding/jwt/ApplicationTests.java deleted file mode 100644 index 7a7d2b8..0000000 --- a/springboot-swagger2/src/test/java/com/xncoding/jwt/ApplicationTests.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.xncoding.jwt; - -import org.junit.runner.RunWith; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; - -/** - * 测试密码加密 - */ - -@RunWith(SpringRunner.class) -@SpringBootTest -public class ApplicationTests { - -} diff --git a/springboot-swagger2/src/test/java/com/xncoding/jwt/Swagger2MarkupTest.java b/springboot-swagger2/src/test/java/com/xncoding/jwt/Swagger2MarkupTest.java index 16fdfca..a25c6aa 100644 --- a/springboot-swagger2/src/test/java/com/xncoding/jwt/Swagger2MarkupTest.java +++ b/springboot-swagger2/src/test/java/com/xncoding/jwt/Swagger2MarkupTest.java @@ -51,7 +51,7 @@ public class Swagger2MarkupTest { * * 执行完成后生成PDF文件方法: * - * 首先在`build/swagger.adoc`的顶部加入: + * 首先在`swagger/swagger.adoc`的顶部加入: ``` :toclevels: 3 :numbered: