Having some issues with Alamofire migrating to swift 3. I had this code before working now I'm getting an error. See code below:
let URL = Foundation.URL(string: Router.baseURLString)
let URLRequest = NSMutableURLRequest(url: URL!.appendingPathComponent(path))
let encoding = Alamofire.ParameterEncoding.URL
return encoding.encode(URLRequest, parameters: parameters).0
Getting the error on the 'let encoding =' line.
Error:
Type 'ParameterEncoding' has no member 'URL'