You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to document a multipart file upload does not seem to generate any request part related documentation. For instance,
mockMvc.perform(RestDocumentationRequestBuilders.fileUpload("/assets)
.file("file",
getSystemResourceAsStream("fixtures/assets/asset.jpg").readAllBytes()))
.andExpect(status().isOk()).andDo(document("asset-post",
resourceDetails().description("Post an asset"),
requestParts(
partWithName("file").description("File to be uploaded")
))
The text was updated successfully, but these errors were encountered:
Trying to document a multipart file upload does not seem to generate any request part related documentation. For instance,
The text was updated successfully, but these errors were encountered: