diff --git a/pom.xml b/pom.xml index c6f38da..20a7233 100644 --- a/pom.xml +++ b/pom.xml @@ -32,6 +32,7 @@ spring-boot-demo-email spring-boot-demo-task spring-boot-demo-task-quartz + spring-boot-demo-swagger spring-boot-demo-war spring-boot-demo-elasticsearch spring-boot-demo-neo4j diff --git a/spring-boot-demo-swagger/.gitignore b/spring-boot-demo-swagger/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-swagger/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-swagger/pom.xml b/spring-boot-demo-swagger/pom.xml new file mode 100644 index 0000000..f5a921e --- /dev/null +++ b/spring-boot-demo-swagger/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + + spring-boot-demo-swagger + 1.0.0-SNAPSHOT + jar + + spring-boot-demo-swagger + Demo project for Spring Boot + + + com.xkcoding + spring-boot-demo + 1.0.0-SNAPSHOT + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-boot-demo-swagger/src/main/java/com/xkcoding/swagger/SpringBootDemoSwaggerApplication.java b/spring-boot-demo-swagger/src/main/java/com/xkcoding/swagger/SpringBootDemoSwaggerApplication.java new file mode 100644 index 0000000..79e6ab4 --- /dev/null +++ b/spring-boot-demo-swagger/src/main/java/com/xkcoding/swagger/SpringBootDemoSwaggerApplication.java @@ -0,0 +1,12 @@ +package com.xkcoding.swagger; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoSwaggerApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoSwaggerApplication.class, args); + } +} diff --git a/spring-boot-demo-swagger/src/main/resources/application.properties b/spring-boot-demo-swagger/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-swagger/src/test/java/com/xkcoding/swagger/SpringBootDemoSwaggerApplicationTests.java b/spring-boot-demo-swagger/src/test/java/com/xkcoding/swagger/SpringBootDemoSwaggerApplicationTests.java new file mode 100644 index 0000000..45742c4 --- /dev/null +++ b/spring-boot-demo-swagger/src/test/java/com/xkcoding/swagger/SpringBootDemoSwaggerApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.swagger; + +import org.junit.Test; +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 SpringBootDemoSwaggerApplicationTests { + + @Test + public void contextLoads() { + } + +}