Skip to content

Commit

Permalink
Merge pull request #51 from belljun3395/web-config-test
Browse files Browse the repository at this point in the history
fix: WebMvcAutoConfiguration 제외
  • Loading branch information
belljun3395 authored Aug 27, 2024
2 parents bf3edec + 9e1ffa7 commit c2fff6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/main/kotlin/com/few/api/config/ApiConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import com.few.batch.config.BatchConfig
import com.few.email.config.MailConfig
import com.few.storage.document.config.DocumentStorageConfig
import com.few.storage.image.config.ImageStorageConfig
import org.springframework.boot.autoconfigure.EnableAutoConfiguration
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
Expand All @@ -22,6 +24,7 @@ import org.springframework.scheduling.annotation.EnableAsync
)
@EnableAsync
@ConfigurationPropertiesScan(basePackages = [ApiConfig.BASE_PACKAGE])
@EnableAutoConfiguration(exclude = [WebMvcAutoConfiguration::class])
class ApiConfig {
companion object {
const val BASE_PACKAGE = "com.few.api"
Expand Down

0 comments on commit c2fff6f

Please sign in to comment.