|
@@ -21,14 +21,14 @@ public class Swagger2 {
|
21
|
21
|
@Bean
|
22
|
22
|
public Docket docket(){
|
23
|
23
|
return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()).select()
|
24
|
|
- .apis(RequestHandlerSelectors.basePackage("com.example.huiju.controller"))
|
|
24
|
+ .apis(RequestHandlerSelectors.basePackage("com.community.huiju.controller"))
|
25
|
25
|
.paths(PathSelectors.any()).build();
|
26
|
26
|
}
|
27
|
27
|
//构建api文档的详细信息函数
|
28
|
28
|
private ApiInfo apiInfo(){
|
29
|
29
|
return new ApiInfoBuilder()
|
30
|
30
|
//页面标题
|
31
|
|
- .title("eureka-client2 的 RESTful API")
|
|
31
|
+ .title("app端的 RESTful API")
|
32
|
32
|
//创建人
|
33
|
33
|
.contact(new Contact("fuxingfan","","fuxingfan@dingtalk.com"))
|
34
|
34
|
//版本号
|