def _convert_to_swagger_type(value):
    """
    Every type has a swagger type
    :rtype: str
    """
    if isinstance(value, (str,)) or value is None:
        return 'string'
    if isinstance(value, (float,)):
        return 'number'
    if isinstance(value, (int,)):
        return 'integer'
    if isinstance(value, (bool,)):
        return 'boolean'
    if isinstance(value, (set, tuple, list)):
        return 'array'
    if isinstance(value, (dict,)):
        return 'object'
    return 'string'
