code: public function updateAction(Request $request)
      {
          $job = $this->deserializeJob($request);
  
          if ($response = $this->validateJob($job)) {
              return $this->serialize($response, 400);
          }
  
          try {
              return $this->serialize($this->getManager()->update($job));
          } catch (ValidationFailedException $e) {
              $response = new BadRequestResponse('Invalid request', 'The request contains invalid job parameters');
              $response->setErrors($e->getConstraintViolationList());
  
              return $this->serialize($response, 400);
          }
      }
docs: Updates a job.
  @Operation(
  tags={"AbcJobBundle"},
  summary="Updates a job",
  @SWG\Response(
  response="200",
  description="Returned when successful",
  @Model(type=Abc\Bundle\JobBundle\Model\Job::class)
  ),
  @SWG\Response(
  response="400",
  description="Form validation error"
  ),
  @SWG\Response(
  response="404",
  description="Returned when job not found"
  ),
  @SWG\Parameter(
  name="ticket",
  in="query",
  type="string",
  required=true,
  description="The job ticket"
  )
  )
  
  @param Request $request
  @return Response