code: def _validate_param(self, path, obj, _):
          
          errs = []
  
          if obj.allowMultiple:
              if not obj.paramType in ('path', 'query', 'header'):
                  errs.append('allowMultiple should be applied on path, header, or query parameters')
              if obj.type == 'array':
                  errs.append('array Type with allowMultiple is not supported.')
  
          if obj.paramType == 'body' and obj.name not in ('', 'body'):
              errs.append('body parameter with invalid name: {0}'.format(obj.name))
  
          if obj.type == 'File':
              if obj.paramType != 'form':
                  errs.append('File parameter should be form type: {0}'.format(obj.name))
              if 'multipart/form-data' not in obj._parent_.consumes:
                  errs.append('File parameter should consume multipart/form-data: {0}'.format(obj.name))
  
          if obj.type == 'void':
              errs.append('void is only allowed in Operation object.')
  
          return path, obj.__class__.__name__, errs
docs: validate option combination of Parameter object