I have a valid OpenAPI spec for a form with multipart/form-data containing a file and an additional text field. (generated from NestJS-Swagger, documented here)
multipart/form-data