当前使用版本(必填,否则不予处理)
mybatis-plus 3.5.3.1
该问题是如何引起的?(确定最新版也有问题再提!!!)
- 模板引擎中
!位置不正确,应为
@Schema(name = "${entity}", description = "${table.comment!}")
但目前的代码为
@Schema(name = "${entity}", description = "$!{table.comment!}")
重现步骤(如果有就写完整)
- 使用代码生成器
- entity中配置使用springdoc
- 模板引擎使用freemarker
- description = "$!{table.comment}"
报错信息
description = "$!{table.comment}
Comment From: hu437
看源码中已经修复,但是目前maven仓库中的版本还没有修复。