docs(config): 补充 apidoc 配置项注释
- 说明文档开关与入口路径的含义
This commit is contained in:
1 parent
0c4b5dd3a7
commit
6e169ef61f
2 files changed
+4
-3
No files matched your search
@@ -23,7 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
* @author Ray.Hao
|
||||
* @since 4.15.0
|
||||
*/
|
||||
@Tag(name = "10.统计接口")
|
||||
@Tag(name = "15.统计接口")
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/analytics")
|
||||
@RequiredArgsConstructor
|
||||
|
||||
@@ -99,9 +99,10 @@ springdoc:
|
||||
- com.youlai.boot.module.workflow.controller
|
||||
default-flat-param-object: true
|
||||
|
||||
# 接口文档 UI
|
||||
apidoc:
|
||||
enabled: true
|
||||
path: /doc.html
|
||||
enabled: true # 启用文档页面与静态资源
|
||||
path: /doc.html # 文档入口路径,页面资源固定在 /apidoc/
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user