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
@Operation(summary = "create a profile image user by id")
304
+
@ApiResponses(value = {
305
+
@ApiResponse(
306
+
responseCode = "201",
307
+
description = "Create the ImageProfile",
308
+
content = {@Content(
309
+
mediaType = "application/json"
310
+
)}
311
+
),
312
+
@ApiResponse(
313
+
responseCode = "204",
314
+
description = "Image not found",
315
+
content = @Content
316
+
),
317
+
@ApiResponse(
318
+
responseCode = "404",
319
+
description = "User not found",
320
+
content = @Content
321
+
)
322
+
})
323
+
@PostMapping("/{id}/imageProfile")
324
+
publicResponseEntity<Object> uploadImageProfile( @Parameter(description="id of user to be searched") @PathVariableintid, @Parameter(description="user profile picture") @RequestParamMultipartFileimage) throwsSQLException, IOException{
0 commit comments