You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to document multipart form request with OAS 3.0. The tricky part is that among string form data, there are also unspecified number of files (1+), and those form keys doesn't have static names.
As you can see, the passed files could have an arbitrary form keys, they only need to be unique.
From what I read in the specification and closed issues, I expect that this should be possible. However, I would like to verify with you as it seems that none of the client generators that I tried supports it.
Hello,
We need to document multipart form request with OAS 3.0. The tricky part is that among string form data, there are also unspecified number of files (1+), and those form keys doesn't have static names.
Request example:
or curl code:
As you can see, the passed files could have an arbitrary form keys, they only need to be unique.
From what I read in the specification and closed issues, I expect that this should be possible. However, I would like to verify with you as it seems that none of the client generators that I tried supports it.
Here is an example of definition:
Do you have any recommendations? Any input will be highly appreciated.
Best regards,
Yana
The text was updated successfully, but these errors were encountered: