@@ -65,16 +65,6 @@
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
</dependency>
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>swagger-bootstrap-ui</artifactId>
- <version>1.7.5</version>
- </dependency>
- <!--<dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger-ui</artifactId>
- <version>2.9.2</version>
- </dependency>-->
</dependencies>
<build>
@@ -41,6 +41,7 @@ public class SwaggerConfig {
token.name("token").modelRef(new ModelRef("String")).parameterType("header").build();
parameters.add(token.build());
return new Docket(DocumentationType.SWAGGER_2)
+ .groupName("Version 1.0")
.apiInfo(buildApiInfo())
.useDefaultResponseMessages(false)
.select()
@@ -8,6 +8,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
</head>
<body>
-Welcome!
+<script>
+ window.location.href = '${base}/doc.html';
+</script>
</body>
</html>