close

Spring Cloud OpenFeign

3.0.3

This project provides OpenFeign integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.

Features

  • Declarative REST Client: Feign creates a dynamic implementation of an interface decorated with JAX-RS or Spring MVC annotations

Getting Started

@SpringBootApplication
@EnableFeignClients
public class WebApplication {

	public static void main(String[] args) {
		SpringApplication.run(WebApplication.class, args);
	}

	@FeignClient("name")
	static interface NameService {
		@RequestMapping("/")
		public String getName();
	}
}

Contributing

We welcome contributions. You can read more on how to contribute to the project here.

Community Support

  • You can report issues through Github.

  • We monitor StackOverflow for questions with the spring-cloud-feign tag.

  • You can contact our team at Gitter.

Commercial Support

Commercial Support is provided as part of the VMware Spring Runtime offering.

Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.

Documentation

Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
3.0.3 CURRENT GA Reference Doc.
3.0.4-SNAPSHOT SNAPSHOT Reference Doc.
2.2.9.BUILD-SNAPSHOT SNAPSHOT Reference Doc.
2.2.8.RELEASE GA Reference Doc.

A few examples to try out: