Closed glm4 closed 6 years ago
This PR includes a refactor for some methods in the APIClient class in order to:
APIClient
SwiftyJSON
JSONSerialization
Also fixes tests based on the actual API responses and the improved empty body validation in the APIClient.
Code climate issues and enhancements
Description:
This PR includes a refactor for some methods in the
APIClient
class in order to:SwiftyJSON
from the dictionary serializer. Now using the nativeJSONSerialization
class.Also fixes tests based on the actual API responses and the improved empty body validation in the
APIClient
.Notes:
SwiftyJSON
should be only used in the consumer side, to easily parse dictionaries returned by the serializer.Risk: