I done swagger integration from this link
It works ! But i want to configure docket bean in .xml file can i define docket bean in .xml file ? If yes then how to define docket bean and it properties.. Currently i'm doing the follwing way
@Configuration
@EnableSwagger2
public class SwaggerConfiguration {
@Bean
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2).select().apis(
RequestH`enter code here`andlerSelectors.any()).paths(PathSelectors.any()).build();
}
}
It would be appreciable if you will help me on this.
Thanks, Sush