Is there a way to default annotations to snake casing without having to manually specify each one? For example, given the following code:
case class Input(
@query
notSnakeCase: Int
)
This will produce an endpoint accepting query parameter of name notSnakeCase
. Ideally, I’d like to be able to generically change all such occurrences to not_snake_case
instead.
implicit val configuration: Configuration = Configuration.default.withSnakeCaseMemberNames
seems to only affect the request and response body fields, and not the query params, headers, etc.
Thanks in advance for any help