src/swagger2x.py
def sdf_enum_array(enumArray):
    """
    Take the enum array value and additionally parse for sdf
    :param enumArray: array of items associated with enum type
    :return: json formatted string
    """
    output = "["
    for i, item in enumerate(enumArray):
        output = output + "\"" + item + "\""
        if i < len(enumArray) - 1:
            output = output + ","
        else:
            output = output + "]"
    return output

    Take the enum array value and additionally parse for sdf
    :param enumArray: array of items associated with enum type
    :return: json formatted string
    
Take the enum array value and additionally parse for sdf
Take the enum array value and additionally parse for sdf
def sdf_enum_array(enumArray):
    output = "["
    for i, item in enumerate(enumArray):
        output = output + "\"" + item + "\""
        if i < len(enumArray) - 1:
            output = output + ","
        else:
            output = output + "]"
    return output
def sdf_enum_array ( enumArray ) : output = "[" for i , item in enumerate ( enumArray ) : output = output + "\"" + item + "\"" if i < len ( enumArray ) - 1 : output = output + "," else : output = output + "]" return output
Take the enum array value and additionally parse for sdf
Take the enum array value and additionally parse for sdf
"""
    Take the enum array value and additionally parse for sdf
    :param enumArray: array of items associated with enum type
    :return: json formatted string
    """
json formatted string
json formatted string
enumArray
array of items associated with enum type
array of items associated with enum type