I want to know what is the best and cleaner architecture to implement API Calls in swift
I mean include the error handling , types annotation and baseUrl, etc…
If anyone have a reference or a docs to implement this in a cleaner way
I know how to make api request in a functional way but i believe that there is a more cleaner way