title: Java Swagger (Springfox) annotations for streaming multipart file upload
body: <p>We are using spring controllers to handle file uploads:</p>
  
  <p>For example:</p>
  
  <pre><code>@RequestMapping(value = "/scan", method = RequestMethod.POST, consumes = {MediaType.MULTIPART_FORM_DATA_VALUE})
  public ScanResult scan(HttpServletRequest request) throws IOException, FileUploadException {
      return scanService.scanFile(parseMultipart(request));
  }
  </code></pre>
  
  <p>But we are not using any multipart resolver, we are streaming the files from the servlet request input stream. We need to start processing the file immediately for performance reasons.</p>
  
  <p>When doing this this way, we can't seem to use the typical detection/configuration for multipart files. I know Springfox (which we use to generate our swagger docs) will generate the appropriate swagger controls if it sees a MultipartFile as a controller parameter, which will not be the case for us.</p>
  
  <p>Are there any other config options available to hint to springfox that we want a file upload here?</p>