feat(backend): implement step 6 — AiService with OpenAI RestClient integration

This commit is contained in:
2026-03-26 18:49:34 -03:00
parent 8885a1fb96
commit 5307856e55
5 changed files with 124 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
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()
}