deleteController = $deleteController; } public function handle(Request $request): Response { $automationId = intval($request->getParam('id')); $this->deleteController->deleteAutomation($automationId); return new Response(null); } public static function getRequestSchema(): array { return [ 'id' => Builder::integer()->required(), ]; } }