Slice the onion into thin rings.
Prepare three bowls: flour in the first, beaten egg in the second, and a mixture of breadcrumbs, garlic powder, paprika, salt, and pepper in the third.
Coat each onion ring in flour, dip it in the egg, and then coat with the breadcrumb mixture.
Preheat the air fryer to 375°F (190°C) for 3-5 minutes.
Lightly spray the air fryer basket with olive oil spray.
Place the onion rings in the air fryer basket in a single layer.
Air fry for 8-10 minutes, flipping halfway through.
Remove the onions and let them cool slightly before serving.