Swagger send body and formData parameter [duplicate]
问题 This question already has answers here : In Swagger, how to define an API that consumes a file along with a schema parameter? (3 answers) Closed last month . I'm using Swagger 2.0 and I have a problem to send multiple post parameters. I have a swagger error Operation cannot have a body parameter and a formData parameter and I don't know how to fix it. In my definition I have a body parameter and this parameter need a JSON format but a side I have other parameter like files to upload and