From 80d1e28d0f5b643a753a2989dbba4e123b9ad87d Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 10 五月 2022 14:42:02 +0800
Subject: [PATCH] update springboot-admin 2.6.6 => 2.6.7 update springboot-mybatis 2.2.0 => 2.2.2 update sa-token 1.29.0 => 1.30.0 update hutool 5.7.22 => 5.8.0 update druid 1.2.8 => 1.2.9 update tlog 1.3.6 => 1.4.0

---
 ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java |   68 +++++++++++++++++++++++++++++++---
 1 files changed, 62 insertions(+), 6 deletions(-)

diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java
index 4a37fbc..7293e1e 100644
--- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java
+++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java
@@ -2,12 +2,13 @@
 
 import lombok.Data;
 import lombok.NoArgsConstructor;
-import lombok.experimental.Accessors;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 import org.springframework.stereotype.Component;
 
+import java.util.List;
+
 /**
- * 楠岃瘉鐮� 閰嶇疆灞炴��
+ * swagger 閰嶇疆灞炴��
  *
  * @author Lion Li
  */
@@ -17,20 +18,75 @@
 public class SwaggerProperties {
 
     /**
-     * 楠岃瘉鐮佺被鍨�
+     * 鏂囨。寮�鍏�
      */
     private Boolean enabled;
+
     /**
-     * 楠岃瘉鐮佺被鍒�
+     * 璁剧疆璇锋眰鐨勭粺涓�鍓嶇紑
+     */
+    private String pathMapping;
+
+    /**
+     * 鏍囧ご
      */
     private String title;
+
     /**
-     * 鏁板瓧楠岃瘉鐮佷綅鏁�
+     * 鎻忚堪
      */
     private String description;
+
     /**
-     * 瀛楃楠岃瘉鐮侀暱搴�
+     * 椤圭洰鐗堟湰
      */
     private String version;
 
+    /**
+     * 鑱旂郴鏂瑰紡
+     */
+    private Contact contact;
+
+    /**
+     * 缁勯厤缃�
+     */
+    private List<Groups> groups;
+
+    @Data
+    @NoArgsConstructor
+    public static class Contact {
+
+        /**
+         * 鑱旂郴浜�
+         */
+        private String name;
+
+        /**
+         * 鑱旂郴浜簎rl
+         */
+        private String url;
+
+        /**
+         * 鑱旂郴浜篹mail
+         */
+        private String email;
+
+    }
+
+    @Data
+    @NoArgsConstructor
+    public static class Groups {
+
+        /**
+         * 缁勫悕
+         */
+        private String name;
+
+        /**
+         * 鍩虹鍖呰矾寰�
+         */
+        private String basePackage;
+
+    }
+
 }

--
Gitblit v1.9.3