Feign使用JAXRS注解

1、添加依赖

io.github.openfeign

feign-jaxrs

9.7.0

2、更改协议

Feign.Builder builder =Feign.builder();

builder.contract(new JAXRSContract());

你可能感兴趣的:(Feign使用JAXRS注解)