All Downloads are FREE. Search and download functionalities are using the official Maven repository.

handlebars.JavaSpring.libraries.spring-cloud.Application.mustache Maven / Gradle / Ivy

There is a newer version: 1.0.54
Show newest version
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