In this PR, the goal is to restructure the architecture of the API client. The following actions were taken:
The endpoint body and response definitions were moved to files matching the endpoint name.
All functions were changed to take &str instead of String. The goal for this is to reduce the instances where the client takes ownership of user-inputted data.
This will be the default way of implementation moving forward.
In this PR, the goal is to restructure the architecture of the API client. The following actions were taken:
This will be the default way of implementation moving forward.