spring-cloud-openfeign
spring-cloud-openfeign copied to clipboard
Allow Request Header on a feign Client
trafficstars
To be honest I've already forgotten a bit about this. I tried to add a request header using spring annotations to a Feign Client interface (the "class" not method). I was told I couldn't do it there. It would be incredibly useful to do so as we have different api endpoints at the same base url but different nested url's that all of the same nested path uses the application/json;v=1 for example, different nested paths (thus different interfaces), might be like application/json;v=2.