Skip to content

Commit

Permalink
docs: SwaggerConfig 가 운영 환경에서 등록되지 않도록 변경 (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimprodp authored Aug 23, 2024
1 parent 9fec135 commit a59a4d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/main/java/reviewme/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a59a4d5

Please sign in to comment.