class Swagger2 {
 
    @Bean
    public Docket createRestApi() {
        return new Docket(DocumentationType.SWAGGER_2)
                .apiInfo(apiInfo())
                .select()
                .apis(RequestHandlerSelectors.basePackage("com.sohu.cache.web.controller"))
                .paths(PathSelectors.any())
                .build();
    }
 
    private ApiInfo apiInfo() {<FILL_FUNCTION_BODY>}
 
}

        return new ApiInfoBuilder()
                .title("CacheCloud项目 RESTful APIs")
                .description("CacheCloud项目后台api接口文档")
                .version("1.0")
                .build();
    
<no_super_class>