diff --git a/src/main/kotlin/herbaccara/boot/autoconfigure/datakr/DataKrAutoConfiguration.kt b/src/main/kotlin/herbaccara/boot/autoconfigure/datakr/DataKrAutoConfiguration.kt index 1d2c147..cd2eb66 100644 --- a/src/main/kotlin/herbaccara/boot/autoconfigure/datakr/DataKrAutoConfiguration.kt +++ b/src/main/kotlin/herbaccara/boot/autoconfigure/datakr/DataKrAutoConfiguration.kt @@ -11,7 +11,6 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties import org.springframework.boot.web.client.RestTemplateBuilder import org.springframework.context.annotation.Bean import org.springframework.http.converter.StringHttpMessageConverter -import org.springframework.web.client.RestTemplate import java.nio.charset.StandardCharsets import java.util.* @@ -36,10 +35,6 @@ class DataKrAutoConfiguration { } } - @Bean - @ConditionalOnMissingBean - fun restTemplate(): RestTemplate = RestTemplate() - @Bean fun dataKrService( objectMapper: ObjectMapper,