Mix the olive oil, minced garlic, the juice and zest of a lemon, oregano and salt. Rub the marinade all over the chicken including the cavity. Put the squeezed lemon halves inside the cavity, tie the legs with a kitchen twine and marinade for at least 30 minutes or up to 4 hours in the fridge.
Preheat air fryer by selecting Roast and set the temperature to 170C/325F for 3 minutes.
Place the chicken in the air fryer breast side up and roast for 35-40 minutes. After 15 minutes cover the breast with foil to avoid burning and continue cooking for 20-25 minutes longer until the internal temperature of the thickest part of the chicken (breast) registers 165F/75C. Remove from the air fryer using two spatulas (the air fryer will be very hot). Let it rest for 15 minutes before cutting.
Notes
Increase cooking time if using a large chicken than the recipe indicates.