I have a rest call which returns array of string [String] for keyPath "data", for example...
{
  "data": [
    "1",
    "3",
    "5",
    "2",
    "4",
    "9"
  ]
}
I am trying to get it via responseArray(keyPath: "data"), but get compile error for line *.responseArray(keyPath: "data") {(response: DataResponse<[String]>) in*
Cannot convert value of type '(DataResponse<[String]>) -> ()' to expected argument type '(DataResponse<[_]>) -> Void'
Part of request example
alamofireManager.request(url)
        .responseArray(keyPath: "data") {(response: DataResponse<[String]>) in
        if response.result.isSuccess {
           if let data = response.result.value {
                //process success
            } else {
                // handle error
            }
        }
        ...
Does anybody of you know how to do it ?