Spring Cloud OpenFeign


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


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

Getting Started

public class WebApplication {

	public static void main(String[] args) {, args);

	static interface NameService {
		public String getName();
Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.2.4 CURRENT GA Reference Doc. API Doc.
3.0 SNAPSHOT Reference Doc. API Doc.
3.0 0-M3 PRE Reference Doc. API Doc.
2.2.5 SNAPSHOT Reference Doc. API Doc.
2.1.5 GA Reference Doc. API Doc.

A few examples to try out: