From a75d364e40e7e9ecad7c0a3e6d22e38628e94b3f Mon Sep 17 00:00:00 2001 From: chipunderblade Date: Mon, 4 Nov 2024 09:06:54 +0800 Subject: [PATCH] fix: fix swagger incorrect path --- .../com/genersoft/iot/vmp/conf/SpringDocConfig.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/SpringDocConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/SpringDocConfig.java index 45f9a2fe..338924ca 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/SpringDocConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/SpringDocConfig.java @@ -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(); } }