fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
MIT License
2.45k stars 118 forks source link

(feat, csharp): support sending bytes requests #3901

Closed dsinghvi closed 1 week ago

dsinghvi commented 1 week ago

The design for this in the SDK is: 1) bytes parameters are typed as Stream so that users can pass in a file stream, byte stream, in memory byte stream, etc. 2) The RawClient now accepts either a JsonApiRequest or a StreamApiRequest as input so each endpoint can pass in what they want