42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
This project provides https://github.com/OpenFeign/feign[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
|
|
|
|
|
|
```java
|
|
@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 https://github.com/spring-cloud/spring-cloud-openfeign/blob/main/README.adoc#3-contributing[here].
|
|
|
|
## Community Support
|
|
|
|
* You can report issues through https://github.com/spring-cloud/spring-cloud-openfeign/issues[Github].
|
|
* We monitor https://stackoverflow.com/[StackOverflow] for questions with the `spring-cloud-feign` tag.
|
|
* You can contact our team at https://gitter.im/spring-cloud/spring-cloud[Gitter].
|
|
|
|
## Commercial Support
|
|
|
|
Commercial Support is provided as part of the https://spring.io/support[VMware Spring Runtime] offering.
|
|
|