Contributions
Uploading file using x-www-form-urlencoded
Hello all, I'm testing some functionality of an OpenAPI parser and so I'm creating JSONs to test functionality. During this endeavor, I have noticed an inconsistency between the doc and the editor. In the doc: "Iftypeis"file", theconsumesMUST be either"multipart/form-data"," application/x-www-form-urlencoded"or both and the parameter MUST bein"formData"." Yet in the editor: "Operations with parameters of "type: file" must include "multipart/form-data" in their "consumes" property." Which is correct? Attached is the operation, I've tried with and without the application/json line.1.1KViews0likes0Comments