Swagger 1.2 supports parameters of 'type': 'File'. Skip validation of
    the 'type' field in this case.

def type_validator(validator, types, instance, schema):
    """Swagger 1.2 supports parameters of 'type': 'File'. Skip validation of
    the 'type' field in this case.
    """
    if schema.get('type') == 'File':
        return []
    return _validators.type_draft3(validator, types, instance, schema)