We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bc2b0 commit c679f95Copy full SHA for c679f95
client/openweather-client/src/main/java/com/wypl/openweatherclient/RestTemplateConfig.java application/wypl-core/src/main/java/com/wypl/wyplcore/config/RestTemplateConfig.java
@@ -1,11 +1,12 @@
1
-package com.wypl.openweatherclient;
+package com.wypl.wyplcore.config;
2
3
import org.springframework.context.annotation.Bean;
4
import org.springframework.context.annotation.Configuration;
5
import org.springframework.web.client.RestTemplate;
6
7
@Configuration
8
public class RestTemplateConfig {
9
+
10
@Bean
11
public RestTemplate restTemplate() {
12
return new RestTemplate();
0 commit comments