title: Alamofire 3.0 and swift 2.0 broke my APIWrapper
body: <p>I recently updated to swift 2.0 and it destroyed my alamofire serializer and API wrapper.</p>
  
  <pre><code>extension Alamofire.Request {
  class func authResponseSerializer() -&gt; Serializer {
      return {request, response, data in
          if data == nil {
              return (nil, nil)
          }
          var jsonError: NSError?
          let jsonData:AnyObject?
          do {
              jsonData = try NSJSONSerialization.JSONObjectWithData(data!, options: [])
          } catch var error as NSError {
              jsonError = error
              jsonData = nil
          } catch {
              fatalError()
          }
          if jsonData == nil || jsonError != nil {
              return (nil, jsonError)
          }
          let json = JSON(jsonData!)
          if json.error != nil || json == nil {
              return (nil, json.error)
          }
  
          var auth:Authorization = Authorization(json: json)
          return (auth, nil)
      }
  
   }
  
    func responseAuthorization(completionHandler: (NSURLRequest, NSHTTPURLResponse?, Result&lt;Authorization&gt;) -&gt; Void) -&gt; Self {
        return response(responseSerializer: Request.authResponseSerializer(), completionHandler: completionHandler)
   }
  </code></pre>
  
  <p>in the request extension i get the error</p>
  
  <p>and in the second func responseAuthoriztion</p>
  
  <p>Use of undeclared type 'Serializer' </p>
  
  <p>I get the error generic type Result specialized with too few type parameters (got 1, but expected 2)</p>
  
  <p>How do i migrate my code to alamofire 3.0 and swift 2.0? I've been reading the migration guides and can't figure this out, many other people I'm sure are dealing with this same problem.</p>