code: def _validate_auths(self, path, obj, app):
          
          errs = []
  
          for k, v in six.iteritems(obj.authorizations or {}):
              if k not in app.raw.authorizations:
                  errs.append('auth {0} not found in resource list'.format(k))
  
              if app.raw.authorizations[k].type in ('basicAuth', 'apiKey') and v != []:
                  errs.append('auth {0} should be an empty list'.format(k))
  
          return path, obj.__class__.__name__, errs
docs: make sure that apiKey and basicAuth are empty list
          in Operation object.