Registry / http-client / spring-cloud-starter-openfeign

spring-cloud-starter-openfeign

JSON →
library5.0.1javamavenunverified

Starter for using OpenFeign as a declarative HTTP client in Spring Cloud.

<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> <version>5.0.1</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-CLOUD-START
S
spring-cloud-starter-openfeign
http-clientjavav5.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FeignClient
org.springframework.cloud.openfeign.FeignClient

Declares a Feign client interface for HTTP API calls.

import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; @FeignClient(name = "example", url = "https://api.example.com") public interface ExampleClient { @GetMapping("/data") String getData(); }
Debug
Known issues
breakingSpring Cloud version compatibility with Spring Boot version is critical.
fix
Use the Spring Cloud release train that matches your Spring Boot version (e.g., 2020.0.x for Boot 2.4.x).
affects: >=3.0.0
Upgrade
Version history
5.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
Resources
spring-cloud-starter-openfeign — mvn dependency:get spring-cloud-starter-openfeign · libregistry