svd
5 years agoNew Member
Multiple File Upload in OpenAPI 3.0
I need to understand how to upload multiple files in a single POST operation. I think there is a contradiction in the documentation:
- This page states that there is no file file type in v. 3.0,
- https://swagger.io/docs/specification/data-models/data-types/
- but the OpenAPI-Specification/3.0.2 uses an array of file data types as an example (click the link and scroll up about one page; I've also attached a screen shot):
- https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#special-considerations-for-multipart-content