Skip to content

Releases: Rentlio/SwiftRestModel

Update Readme

25 Oct 08:50
Compare
Choose a tag to compare
2.0.4

Update Readme

Update for Swift 3 and Xcode 8

25 Oct 08:48
Compare
Choose a tag to compare
2.0.0

Remove @testable import

Handle errors for responses outside successful status codes

12 Apr 07:09
Compare
Choose a tag to compare

The request method now includes a call to .validate(), faulting to the failure block for any response outside the 200..299 range. In the request handler, we now switch on the response type, and pass through a JSON error that includes a response status code when available.