From ffa5816042b90d079101be41e7ba2bd5c5a1ea0c Mon Sep 17 00:00:00 2001 From: Muluo-cyan <1217593253@qq.com> Date: Tue, 15 Oct 2024 23:48:09 +0800 Subject: [PATCH] feature: support swagger --- console/pom.xml | 13 +++++++++++++ .../seata/console/controller/AuthController.java | 4 ++++ .../console/controller/OverviewController.java | 4 ++++ .../seata/server/auth/config/Swagger2Config.java | 7 +++++++ .../auth/controller/ClusterAuthController.java | 6 ++++++ .../console/controller/BranchSessionController.java | 2 ++ .../console/controller/GlobalLockController.java | 4 ++++ .../console/controller/GlobalSessionController.java | 4 ++++ .../seata/server/controller/ClusterController.java | 6 ++++++ .../seata/server/controller/HealthController.java | 4 ++++ .../server/controller/VGroupMappingController.java | 5 +++++ 11 files changed, 59 insertions(+) diff --git a/console/pom.xml b/console/pom.xml index 16fba6a55ee..7e168de9502 100644 --- a/console/pom.xml +++ b/console/pom.xml @@ -142,6 +142,19 @@ javax.servlet javax.servlet-api + + + + io.springfox + springfox-swagger2 + 2.7.0 + + + io.springfox + springfox-swagger-ui + 2.7.0 + +