I have a use case to support the multipart/mixed content type as defined in RFC 2049. Use of this content type includes support for:
- multiple parts in sequence
- each part with its own content type and data
- each part separated by a boundary value included in the HTTP request
Content-Type header
It seems like it would be ideal if Swagger could enable defining each part as a parameter with content type and, on submission, have Swagger UI create the MIME boundary, add the boundary to the HTTP request Content-Type header, and assemble the multipart parameters into a multi-part request body using the boundary.
It would be great to support this in Swagger natively.
I have a use case to support the
multipart/mixedcontent type as defined in RFC 2049. Use of this content type includes support for:Content-TypeheaderIt seems like it would be ideal if Swagger could enable defining each part as a parameter with content type and, on submission, have Swagger UI create the MIME boundary, add the boundary to the HTTP request
Content-Typeheader, and assemble the multipart parameters into a multi-part request body using the boundary.It would be great to support this in Swagger natively.