Prepare the oven: Set the oven to 425°F (218°C). Apply a light coating of cooking spray to a 15 x 10 x 1-inch rimmed baking pan.
Season the vegetables: Add the potatoes, onion, olive oil, garlic, ¾ teaspoon salt, ½ teaspoon pepper, and half of the rosemary to a large bowl. Toss thoroughly and distribute the vegetables across the baking pan.
Season the chicken: Mix the paprika, remaining ½ teaspoon salt, remaining ¼ teaspoon pepper, and remaining rosemary in a small bowl. Coat the chicken thighs evenly with the seasoning, then position them on top of the potatoes and onions.
Roast: Cook uncovered for 35–40 minutes. The chicken should register 170–175°F internally, and the potatoes should be almost tender.
Add the spinach: Move the chicken to a serving platter and keep it warm. Distribute the spinach over the remaining vegetables and return the pan to the oven for 8–10 minutes, until the leaves have wilted and the potatoes are fully tender.
Serve: Gently combine the roasted vegetables and spinach. Serve alongside the warm chicken, with lemon wedges if desired.