Closed
Description
The documentation under https://docs.spring.io/spring-restdocs/docs/2.0.5.RELEASE/reference/html5/#documenting-your-api-request-parts for MockMvc has
this.mockMvc.perform(multipart("/upload").file("file", "example".getBytes()))
I think this should be
this.mockMvc.perform(fileUpload("/upload").file("file", "example".getBytes()))
as fileUpload is defined in RestDocumentationRequestBuilders and multipart in MockMvcRequestBuilders