As discussed in #4.
Some APIs require passing parameter in headers (especially often with auth.params), it should be supported this way:
# ...somewhere inside API description
param :jwt_token, format: ->(token) { "Bearer: #{@jwt_token}" }, header: 'Authorization'
# ...
# usage:
client = SomeApiClient.new(jwt_token: "some_token")
client.some_method