Skip to content

Commit 401470d

Browse files
committed
refactor: Swagger Profile Config #73
1 parent e097d65 commit 401470d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/sopt/comfit/global/config/SwaggerConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
import io.swagger.v3.oas.models.servers.Server;
88
import org.springframework.context.annotation.Bean;
99
import org.springframework.context.annotation.Configuration;
10+
import org.springframework.context.annotation.Profile;
1011

12+
@Profile("!prod")
1113
@Configuration
1214
public class SwaggerConfig {
1315

0 commit comments

Comments
 (0)