Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multipart/mixed? #571

Open
leoshimo opened this issue May 7, 2024 · 1 comment
Open

Support for multipart/mixed? #571

leoshimo opened this issue May 7, 2024 · 1 comment
Labels
kind/support Adopter support requests. status/triage Collecting information required to triage the issue.

Comments

@leoshimo
Copy link

leoshimo commented May 7, 2024

Question

Hello! 馃憢

First of all, thank you for the team's work on this project.

As a follow up to #366 and #36, I was wondering if support for multipart/mixed was on the roadmap.

I'm working against a batch endpoint that uses multipart/mixed - it works as a global proxy to other operations in OpenAPI document. I'd like to use this project if possible to generate Swift API client.

@leoshimo leoshimo added kind/support Adopter support requests. status/triage Collecting information required to triage the issue. labels May 7, 2024
@czechboy0
Copy link
Collaborator

Hi @leoshimo,

it was mentioned as out of scope of the original proposal: https://swiftpackageindex.com/apple/swift-openapi-generator/1.2.1/documentation/swift-openapi-generator/soar-0009#Other-multipart-subtypes

But we'd be open to accepting a PR adding that support. Can you elaborate on why the mixed subtype is used instead of the more common form-data? Can you include a snippet of the OpenAPI doc that uses it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Adopter support requests. status/triage Collecting information required to triage the issue.
Projects
None yet
Development

No branches or pull requests

2 participants