@Bean
public Docket swaggerConfiguration() {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.basePackage("com.swagger.ui.controller"))
.paths(PathSelectors.ant("/api/*"))
.build();
}