diff --git a/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java b/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java index b2c8ad4..958e232 100644 --- a/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java +++ b/rest-client-base/src/test/java/com/wultra/core/rest/client/base/controller/PublicTestRestController.java @@ -80,7 +80,7 @@ public ObjectResponse testPostWithObjectRequestAndResponse(@Reques } @PostMapping(value = "/multipart-request-response", consumes = { MediaType.MULTIPART_FORM_DATA_VALUE }) - public ObjectResponse testPostWithMultipartRequestAndResponse(@RequestPart TestRequest request) { + public ObjectResponse testPostWithMultipartRequestAndResponse(@RequestPart("request") TestRequest request) { TestResponse testResponse = new TestResponse(request.getRequest()); return new ObjectResponse<>(testResponse); }