From a318d85f845cab1682e67d68bf0068b74c76d7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Sun, 7 Apr 2024 14:31:47 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20EnablePigDoc=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20isMicro=20=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig/common/swagger/annotation/EnablePigDoc.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pig-common/pig-common-swagger/src/main/java/com/pig4cloud/pig/common/swagger/annotation/EnablePigDoc.java b/pig-common/pig-common-swagger/src/main/java/com/pig4cloud/pig/common/swagger/annotation/EnablePigDoc.java index a9b0de24..6baa298f 100644 --- a/pig-common/pig-common-swagger/src/main/java/com/pig4cloud/pig/common/swagger/annotation/EnablePigDoc.java +++ b/pig-common/pig-common-swagger/src/main/java/com/pig4cloud/pig/common/swagger/annotation/EnablePigDoc.java @@ -46,4 +46,11 @@ public @interface EnablePigDoc { */ String value(); + /** + * 是否是微服务架构 + * + * @return bool + */ + boolean isMicro() default true; + }