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