16 lines
349 B
Kotlin
16 lines
349 B
Kotlin
package com.condado.newsletter.config
|
|
|
|
import org.springframework.context.annotation.Bean
|
|
import org.springframework.context.annotation.Configuration
|
|
import org.springframework.web.client.RestClient
|
|
|
|
/**
|
|
* Application-wide bean configuration.
|
|
*/
|
|
@Configuration
|
|
class AppConfig {
|
|
|
|
@Bean
|
|
fun restClient(): RestClient = RestClient.create()
|
|
}
|