From 1270b6717f5e98fb48ab1b3ec7a3d15a7f52b877 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 05 七月 2022 09:57:19 +0800 Subject: [PATCH] !194 魔法值优化 Merge pull request !194 from zendwang/dev --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java | 88 +++++++++++++++++++++++--------------------- 1 files changed, 46 insertions(+), 42 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 9c4cd23..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 @@ -18,71 +18,75 @@ public class SwaggerProperties { /** - * 楠岃瘉鐮佺被鍨� + * 鏂囨。寮�鍏� */ private Boolean enabled; - /** - * 璁剧疆璇锋眰鐨勭粺涓�鍓嶇紑 - */ - private String pathMapping; + /** - * 楠岃瘉鐮佺被鍒� + * 璁剧疆璇锋眰鐨勭粺涓�鍓嶇紑 + */ + private String pathMapping; + + /** + * 鏍囧ご */ private String title; + /** - * 鏁板瓧楠岃瘉鐮佷綅鏁� + * 鎻忚堪 */ private String description; + /** - * 瀛楃楠岃瘉鐮侀暱搴� + * 椤圭洰鐗堟湰 */ private String version; - /** - * 鑱旂郴鏂瑰紡 - */ + /** + * 鑱旂郴鏂瑰紡 + */ private Contact contact; - /** - * 缁勯厤缃� - */ - private List<Groups> groups; + /** + * 缁勯厤缃� + */ + private List<Groups> groups; @Data - @NoArgsConstructor - public static class Contact { + @NoArgsConstructor + public static class Contact { - /** - * 鑱旂郴浜� - */ - private String name; + /** + * 鑱旂郴浜� + */ + private String name; - /** - * 鑱旂郴浜簎rl - */ - private String url; + /** + * 鑱旂郴浜簎rl + */ + private String url; - /** - * 鑱旂郴浜篹mail - */ - private String email; + /** + * 鑱旂郴浜篹mail + */ + private String email; - } + } - @Data - @NoArgsConstructor - public static class Groups { + @Data + @NoArgsConstructor + public static class Groups { - /** - * 缁勫悕 - */ - private String name; + /** + * 缁勫悕 + */ + private String name; - /** - * 鍩虹鍖呰矾寰� - */ - private String basePackage; + /** + * 鍩虹鍖呰矾寰� + */ + private String basePackage; - } + } } -- Gitblit v1.9.3