找考题网-背景图
单项选择题

Swagger怎么配置只扫描某个包下的所有接口()

A.调用Docket的select().apis(RequestHandlerSelectors.basePackage("xx.xx.xx"))
B.调用Docket的select().apis(RequestHandlerSelectors.any())
C.调用Docket的select().apis(RequestHandlerSelectors.withClassAnnotation(Class))
D.调用Docket的select().apis(RequestHandlerSelectors.withMethodAnnotation())