From 798ffd9065d72d76bb48a69ae91e81a19be8f22e Mon Sep 17 00:00:00 2001 From: 朱杰 <693337446@qq.com> Date: 星期六, 22 五月 2021 23:29:15 +0800 Subject: [PATCH] fix 修复代码生成器中表字段取消必填无法更新问题 --- ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/SwaggerProperties.java | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 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..f99c3da 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,7 +2,6 @@ import lombok.Data; import lombok.NoArgsConstructor; -import lombok.experimental.Accessors; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @@ -20,6 +19,10 @@ * 楠岃瘉鐮佺被鍨� */ private Boolean enabled; + /** + * 璁剧疆璇锋眰鐨勭粺涓�鍓嶇紑 + */ + private String pathMapping; /** * 楠岃瘉鐮佺被鍒� */ @@ -33,4 +36,28 @@ */ private String version; + /** + * 鑱旂郴鏂瑰紡 + */ + private Contact contact; + + @Data + @NoArgsConstructor + public static class Contact{ + + /** + * 鑱旂郴浜� + **/ + private String name; + /** + * 鑱旂郴浜簎rl + **/ + private String url; + /** + * 鑱旂郴浜篹mail + **/ + private String email; + + } + } -- Gitblit v1.9.3