You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
692 B
Java
26 lines
692 B
Java
package com.supervision;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.web.client.RestTemplate;
|
|
import org.springframework.web.reactive.function.client.WebClient;
|
|
|
|
@SpringBootApplication
|
|
public class SpeechDemoServiceApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(SpeechDemoServiceApplication.class, args);
|
|
}
|
|
@Bean
|
|
public RestTemplate restTemplate() {
|
|
return new RestTemplate();
|
|
}
|
|
|
|
@Bean
|
|
public WebClient webClient() {
|
|
return WebClient.create();
|
|
}
|
|
|
|
}
|