Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mapping a header by name to a case class requires additional metadata #225
case class UserAgentRequest(@Header @JsonProperty("User-Agent") userAgent: String)
Using JsonProperty is needed if mapping a header onto a case class. I think this is a bug and probably headers being case insensitive a specific Header metadata (either on the Header annotation or a specific HeaderProperty annotation) needs to be available.