getResponse(); } #[Route('/register/send', name: 'register_send', methods: ['GET'])] public function sendRegisterCode( ActionServiceInterface $sendRegisterService, ): JsonResponse { return $sendRegisterService->getResponse(); } #[Route('/register/check', name: 'register_check', methods: ['POST'])] #[OA\RequestBody( content: new OA\JsonContent(ref: new Model(type: RegisterCodeDto::class)) )] public function checkRegisterCode( ActionServiceInterface $checkRegisterService ): JsonResponse { return $checkRegisterService->getResponse(); } #[Route('/password/reset', name: 'password_reset', methods: ['POST'])] #[OA\RequestBody( content: new OA\JsonContent(ref: new Model(type: ChangePasswordDto::class)) )] public function resetPassword(ActionServiceInterface $resetPasswordService): JsonResponse { return $resetPasswordService->getResponse(); } #[Route('/password/send', name: 'password_send', methods: ['POST'])] #[OA\RequestBody( content: new OA\JsonContent(ref: new Model(type: RecoveryDto::class)) )] public function sendResetPassword(ActionServiceInterface $sendPasswordCodeService): JsonResponse { return $sendPasswordCodeService->getResponse(); } #[Route('/password/reset/check', name: 'password_reset_check', methods: ['POST'])] #[OA\RequestBody( content: new OA\JsonContent(ref: new Model(type: ResetPasswordCodeDto::class)) )] public function resetCheckPassword(ActionServiceInterface $resetPasswordCodeService): JsonResponse { return $resetPasswordCodeService->getResponse(); } }