Refactor update method
@@ -108,7 +108,7 @@ public class EcoNewsController {
@PutMapping("/update")
public ResponseEntity<EcoNewsDto> update(
@ApiParam(value = SwaggerExampleModel.UPDATE_ECO_NEWS, required = true)
- @RequestPart @ValidEcoNewsDtoRequest UpdateEcoNewsDto updateEcoNewsDto,
+ @RequestPart UpdateEcoNewsDto updateEcoNewsDto,
@ApiParam(value = "Image of eco news")
@ImageValidation
@RequestPart(required = false) MultipartFile image,
