mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
fix(common): 补充 captcha 和 dashboard 接口的文档分组路径
This commit is contained in:
@@ -41,7 +41,11 @@ public class GlobalSpringDocConfiguration {
|
||||
|
||||
@Bean
|
||||
public GroupedOpenApi commonApi() {
|
||||
return GroupedOpenApi.builder().group("common").displayName("通用接口").pathsToMatch("/common/**").build();
|
||||
return GroupedOpenApi.builder()
|
||||
.group("common")
|
||||
.displayName("通用接口")
|
||||
.pathsToMatch("/common/**", "/captcha/**", "/dashboard/**")
|
||||
.build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
Reference in New Issue
Block a user