Skip to content

Support for multipart/mixed Content-Type #303

@grokify

Description

@grokify

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions