Validates objects against a given swagger model