refactor: 统一注释规范与代码风格,优化分层结构
This commit is contained in:
1 parent
8fd648c2e0
commit
49e3d7a71b
30 files changed
+215
-286
No files matched your search
@@ -162,14 +162,16 @@ springdoc:
|
||||
packages-to-scan: # 扫描的 Controller 包,限制只生成指定包的接口文档
|
||||
- com.youlai.boot.auth.controller
|
||||
- com.youlai.boot.system.controller
|
||||
- com.youlai.boot.module.file.controller
|
||||
- com.youlai.boot.module.codegen.controller
|
||||
default-flat-param-object: true # 将对象参数扁平化显示在文档中
|
||||
- com.youlai.boot.file.controller
|
||||
- com.youlai.boot.codegen.controller
|
||||
- com.youlai.boot.message.controller
|
||||
default-flat-param-object: true
|
||||
|
||||
# knife4j 配置
|
||||
knife4j:
|
||||
enable: true # 是否启用 Knife4j 增强功能
|
||||
production: false # 是否启用生产环境保护(true=生产环境隐藏文档,false=开发环境可访问)
|
||||
enable: true
|
||||
# 生产环境设置为 true 关闭文档
|
||||
production: false
|
||||
setting:
|
||||
language: zh_cn
|
||||
|
||||
|
||||
Reference in new issue
Block a user