Closed XhstormR closed 3 months ago
Hello @XhstormR, Swagger annotations have never been supported. Spring Cloud OpenFeign is now in maintenance only mode (we're suggesting migrating over to Spring interface clients). We are not planning to work on new features in this project.
Is your feature request related to a problem? Please describe.
Currently following interface method:
can't be used as Feign Client:
Describe the solution you'd like We should provide ignore annotation like @FeignIgnore to programmatically ignore some method parameter. For example:
Describe alternatives you've considered I have tried add
@RequestParam(required=false)
, but it will add toString() value to url as get parameters, and server will respond cannot convert string to target object.For example :
Currently i implemented @FeignIgnore by myself, but i think official repos should provide this feature. It will also resolve https://github.com/spring-cloud/spring-cloud-netflix/issues/2540.
Then add
ExampleFeignConfig
to@FeignClient