What to do if response can have 2 different schemas?

Hey, so I’ve got an unusual problem.

I’ve got a response than can use 1 of two schemas. How can I specify both schemas for the response, so that it does not matter what response I get it would fall in one of the two schemas?

Added 2 schemas in an array, it worked