swagger配置多个扫描路径

@Bean
public Docket createRestApi() {

com.google.common.base.Predicate<RequestHandler> select1 = RequestHandlerSelectors.basePackage("cn.javaex.hgo.user.controller");
com.google.common.base.Predicate<RequestHandler> select2 = RequestHandlerSelectors.basePackage("cn.javaex.hgo.sys.controller");

return new Docket(DocumentationType.SWAGGER_2)
.apiInfo(apiInfo())
.select()
.apis(Predicates.or(select1, select2))
.paths(PathSelectors.any())
.build();
}