This would require that 1. the method response type is a union, and 2. the mapped type is a member of that union, or a union that is a subset of the main union.