How to flatten and verify a smart contract using OpenZeppelin Contracts

A post was split to a new topic: Verify smart contract inheriting from OpenZeppelin?