handlebars.JavaSpring.libraries.spring-cloud.Application.mustache Maven / Gradle / Ivy
package io.swagger;
import feign.Logger;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
{{^isOpenFeign}}
import org.springframework.cloud.netflix.feign.EnableFeignClients;
{{/isOpenFeign}}
{{#isOpenFeign}}
import org.springframework.cloud.openfeign.EnableFeignClients;
{{/isOpenFeign}}
import org.springframework.context.annotation.Bean;
@SpringBootApplication
@EnableFeignClients
public class Application {
public static void main(String[] args) {
new SpringApplicationBuilder(Application.class).run(args);
}
@Bean
Logger.Level feignLoggerLevel() {
return Logger.Level.FULL;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy