4.0.0 - RequestConvertible and MockProvider
Endpoint
protocol was renamed toRequestConvertible
in order to make it more descriptive.- Mock property is removed from
Request
. When the mock is created in one single place it is not really flexible for unit testing if you want to inject JSON dictionary or custom file dynamically. That's whyMockProvider
was introduced in order to improve mock behaviour.