title: Spring Cloud Contract with multiple requestparts
body: <p>I'm trying to write a contract to  test the following providers endpoint</p>
  <pre><code>@PostMapping(value = &quot;/api/{id}/addFiles&quot;, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
  ResponseEntity&lt;Void&gt; addFiles(@PathVariable(value = &quot;id&quot;) String id, @RequestPart(&quot;name&quot;) String name, @RequestPart(&quot;test&quot;) String test, @RequestPart(&quot;files&quot;) MultiPartFile[] files)
  </code></pre>
  <p>I'm struggling to write a contract that works with multiple RequestParts such as this. If I change the two String RequestParts to RequestParams I can get the test to pass with the following contract:</p>
  <pre><code>Contract.make {
    description &quot;Add Files&quot;
    request {
      urlPath(&quot;/api/idString/addFiles&quot;) {
        queryParameters {
          parameter 'name': value(consumer(regex(nonEmpty())), producer('name'))
          parameter 'test': value(consumer(regex(nonEmpty())), producer('test'))
        }
      }
      method POST()
      headers {
        contentType multipartFormData()
      }
      multipart(
        files: named(
          name: value(consumer(regex(nonEmpty())), producer('fileName')),
          content: value(consumer(regex(nonEmpty())), producer('fileContent'))
        )
      )
    }
    response {
      status ACCEPTED()
    }
  }
  </code></pre>
  <p>But is there a way of writing this contract whilst keeping everything as RequestParts? Nothing I've tried so far has come close to working!</p>