配置knife4j后,项目启动时报跟springfox有关的错误日志:At least one type of specification is required

springfox.documentation.builders.NoopValidator:lambda$logProblems$1:ERROR [ModelSpecification.spec] At least one type of specification is required

回答

设置增强属性?

knife4j:

enable:true