Currently, APIClient could not send some value by multipart/form-data. We can check which value will send here and only limited types of value can be send.
This PR supports to send any value through multipart/form-data. Some codes are inspired by Alamofire here.
Motivation
Currently, APIClient could not send some value by multipart/form-data. We can check which value will send here and only limited types of value can be send.
This PR supports to send any value through multipart/form-data. Some codes are inspired by Alamofire here.
Related issue
This PR may solve this issue https://github.com/yonaskolb/SwagGen/issues/177.