route @Patch(':id') patch(@Param('id') id: string, @Body() removeEssayDto: RemoveEssayDto) { return this.essaysService.patch(id, removeEssayDto); } dto import { IsNotEmpty, IsString, Contains, IsArray, ValidateNested, registerDecorator, ValidationOpt