On a parchment-lined baking sheet, combine the duck, zucchini, garlic, thyme and oil. Season with salt and pepper. Roast until the zucchini is tender, about 15 minutes. If using duck legs, debone them and shred the meat. Transfer to a large salad bowl and let cool.