Unable to interpret the implicit parameter configuration with dataType: string....

使用Swagger @ApiImplicitParam注解的警告信息,解决方法:
1、加入dataTypeClass属性,如下:

@ApiImplicitParam(name = "date",value = "日期时间戳",dataType = "long",dataTypeClass = Long.class,required = true)

2、降低Swagger 版本

猜你喜欢

转载自blog.csdn.net/Stand_Fast/article/details/118857590