@@ -22,7 +22,7 @@ class DemoApiClient : public oatpp::web::client::ApiClient {
2222 API_CALL (" PATCH" , " patch" , doPatch, BODY_STRING(String, body))
2323 API_CALL (" DELETE" , " delete" , doDelete)
2424
25- API_CALL (" POST" , " post" , doPostWithDto, BODY_DTO(MyRequestDto::ObjectWrapper , body))
25+ API_CALL (" POST" , " post" , doPostWithDto, BODY_DTO(Object< MyRequestDto> , body))
2626
2727 API_CALL (" GET" , " anything/{parameter}" , doGetAnything, PATH(String, parameter))
2828 API_CALL (" POST" , " anything/{parameter}" , doPostAnything, PATH(String, parameter), BODY_STRING(String, body))
@@ -39,7 +39,7 @@ class DemoApiClient : public oatpp::web::client::ApiClient {
3939 API_CALL_ASYNC (" PATCH" , " patch" , doPatchAsync, BODY_STRING(String, body))
4040 API_CALL_ASYNC (" DELETE" , " delete" , doDeleteAsync)
4141
42- API_CALL_ASYNC (" POST" , " post" , doPostWithDtoAsync, BODY_DTO(MyRequestDto::ObjectWrapper , body))
42+ API_CALL_ASYNC (" POST" , " post" , doPostWithDtoAsync, BODY_DTO(Object< MyRequestDto> , body))
4343
4444 API_CALL_ASYNC (" GET" , " anything/{parameter}" , doGetAnythingAsync, PATH(String, parameter))
4545 API_CALL_ASYNC (" POST" , " anything/{parameter}" , doPostAnythingAsync, PATH(String, parameter), BODY_STRING(String, body))
0 commit comments