This adds the new inlineFileProperties configuration option so that users can generate their in-lined request types to contain the io.Reader file properties (which are generated as positional parameters by default).
With this, users are now presented with file upload endpoint signatures that look like the following:
This adds the new
inlineFileProperties
configuration option so that users can generate their in-lined request types to contain theio.Reader
file properties (which are generated as positional parameters by default).With this, users are now presented with file upload endpoint signatures that look like the following:
Note that this also updates a couple other minor details:
internal.MultipartWriter
abstraction to expose aWithDefaultContentType
option.internal.MultipartWriter
utilities were unnecessarily generated for SDKs that don't define anymultipart/form-data
endpoints.