修改pom.xml文件,增加swagger2
diff --git a/leaveschool/client/pom.xml b/leaveschool/client/pom.xml
index 3db7d15..0cddaae 100644
--- a/leaveschool/client/pom.xml
+++ b/leaveschool/client/pom.xml
@@ -11,6 +11,10 @@
   <groupId>com.supwisdom.leaveschool</groupId>
   <artifactId>leaveschool-client</artifactId>
   <packaging>jar</packaging>
+  
+   <properties>
+  	<io.springfox.version>2.9.2</io.springfox.version>
+  </properties>
 
 
   <dependencies>
@@ -104,6 +108,17 @@
       <groupId>org.springframework.cloud</groupId>
       <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
     </dependency>
+    
+    <dependency>
+			<groupId>io.springfox</groupId>
+			<artifactId>springfox-swagger2</artifactId>
+			<version>${io.springfox.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>io.springfox</groupId>
+			<artifactId>springfox-swagger-ui</artifactId>
+			<version>${io.springfox.version}</version>
+		</dependency>
 
 
     <dependency>