0
点赞
收藏
分享

微信扫一扫

Unable to interpret the implicit parameter configuration with dataType: , dataTypeClass: class java.


文章目录

  • ​​Unable to interpret the implicit parameter configuration with dataType: , dataTypeClass: class java.lang.Void​​
  • ​​1、具体内容​​
  • ​​2、解决​​

Unable to interpret the implicit parameter configuration with dataType: , dataTypeClass: class java.lang.Void

1、具体内容

日志打印 WARN 日志,Unable to interpret the implicit parameter configuration with dataType: , dataTypeClass: class java.lang.Void
该日志是 Swagger 打印, 意思是使用了 Void 作为默认参数类型,不太合适,建议该一下

2、解决

1、降低 Swagger 版本至 3.0以下
2、为 ApiImplicitParam 指定 dataTypeClass 属性
3、关闭 Swagger 的日志,或者将 Swagger 日志级别调整为 error

举报

相关推荐

0 条评论