Merge pull request #1675 from pfjhyyj/master

修改swagger文档路径
pull/1677/head
648540858 2024-11-04 09:51:04 +08:00 committed by GitHub
commit 6dc0c3ebd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ public class SpringDocConfig {
public GroupedOpenApi publicApi() {
return GroupedOpenApi.builder()
.group("1. 全部")
.packagesToScan("com.genersoft.iot.vmp.vmanager")
.packagesToScan("com.genersoft.iot.vmp")
.build();
}
@ -58,7 +58,7 @@ public class SpringDocConfig {
public GroupedOpenApi publicApi2() {
return GroupedOpenApi.builder()
.group("2. 国标28181")
.packagesToScan("com.genersoft.iot.vmp.vmanager.gb28181")
.packagesToScan("com.genersoft.iot.vmp.gb28181")
.build();
}
@ -66,7 +66,7 @@ public class SpringDocConfig {
public GroupedOpenApi publicApi3() {
return GroupedOpenApi.builder()
.group("3. 拉流转发")
.packagesToScan("com.genersoft.iot.vmp.vmanager.streamProxy")
.packagesToScan("com.genersoft.iot.vmp.streamProxy")
.build();
}
@ -74,7 +74,7 @@ public class SpringDocConfig {
public GroupedOpenApi publicApi4() {
return GroupedOpenApi.builder()
.group("4. 推流管理")
.packagesToScan("com.genersoft.iot.vmp.vmanager.streamPush")
.packagesToScan("com.genersoft.iot.vmp.streamPush")
.build();
}
@ -82,7 +82,7 @@ public class SpringDocConfig {
public GroupedOpenApi publicApi5() {
return GroupedOpenApi.builder()
.group("4. 服务管理")
.packagesToScan("com.genersoft.iot.vmp.vmanager.server")
.packagesToScan("com.genersoft.iot.vmp.server")
.build();
}
@ -90,7 +90,7 @@ public class SpringDocConfig {
public GroupedOpenApi publicApi6() {
return GroupedOpenApi.builder()
.group("5. 用户管理")
.packagesToScan("com.genersoft.iot.vmp.vmanager.user")
.packagesToScan("com.genersoft.iot.vmp.user")
.build();
}
}