From a59a4d587c452f0f607925d182cfd08af53c8076 Mon Sep 17 00:00:00 2001 From: Kimprodp <145949635+Kimprodp@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:57:24 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20SwaggerConfig=20=EA=B0=80=20=EC=9A=B4?= =?UTF-8?q?=EC=98=81=20=ED=99=98=EA=B2=BD=EC=97=90=EC=84=9C=20=EB=93=B1?= =?UTF-8?q?=EB=A1=9D=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20(#531)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/reviewme/config/SwaggerConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/main/java/reviewme/config/SwaggerConfig.java b/backend/src/main/java/reviewme/config/SwaggerConfig.java index 0c6becb78..896136561 100644 --- a/backend/src/main/java/reviewme/config/SwaggerConfig.java +++ b/backend/src/main/java/reviewme/config/SwaggerConfig.java @@ -5,8 +5,10 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Profile; import reviewme.config.properties.SwaggerProperties; +@Profile("!prod") @Configuration @EnableConfigurationProperties(SwaggerProperties.class) @RequiredArgsConstructor