大坑
Swagger的@Api注解如果写在 @Controller 上面 这个控制层就识别不了了
错误写法:
@Api
@Controller
public class test{
}
正确写法
@Controller
@Api
public calss test{
}
大坑
Swagger的@Api注解如果写在 @Controller 上面 这个控制层就识别不了了
错误写法:
@Api
@Controller
public class test{
}
正确写法
@Controller
@Api
public calss test{
}