src/swagger2x.py
def sdf_supported_property(property_name):
    """
    Check to verify that this property is support natively in SDF (without modification)
    :param property_name name to check
    :return: boolean true/false
    """
    # these supported items, assume the input models are valid JSON,
    # and do no addition verification of linking properties to valid types.
    # basic JSON properties
    supportedProperties = ["type", "minimum",
                           "maximum", "uniqueItems", "format"]
    # extended JSON properties
    supportedProperties.extend(
        ["minItems", "maxItems", "default", "exclusiveMinimum", "exclusiveMaximum"])
    # properties used for strings, other modifiers
    supportedProperties.extend(["maxLength", "minLength"])
    # description, readOnly, enum, $ref handled in a special function,
    # to rename / reorder properties
    if property_name in supportedProperties:
        return True
    else:
        return False

    Check to verify that this property is support natively in SDF (without modification)
    :param property_name name to check
    :return: boolean true/false
    
Check to verify that this property is support natively in SDF (without modification)
:param property_name name to check
:return: boolean true/false
Check to verify that this property is support natively in SDF ( without modification ) : param property_name name to check : return : boolean true / false
def sdf_supported_property(property_name):
    supportedProperties = ["type", "minimum",
                           "maximum", "uniqueItems", "format"]
    supportedProperties.extend(
        ["minItems", "maxItems", "default", "exclusiveMinimum", "exclusiveMaximum"])
    supportedProperties.extend(["maxLength", "minLength"])
    if property_name in supportedProperties:
        return True
    else:
        return False
def sdf_supported_property ( property_name ) : supportedProperties = [ "type" , "minimum" , "maximum" , "uniqueItems" , "format" ] supportedProperties . extend ( [ "minItems" , "maxItems" , "default" , "exclusiveMinimum" , "exclusiveMaximum" ] ) supportedProperties . extend ( [ "maxLength" , "minLength" ] ) if property_name in supportedProperties : return True else : return False
Check to verify that this property is support natively in SDF (without modification)
:param property_name name to check
:return: boolean true/false
Check to verify that this property is support natively in SDF ( without modification ) : param property_name name to check : return : boolean true / false
"""
    Check to verify that this property is support natively in SDF (without modification)
    :param property_name name to check
    :return: boolean true/false
    """ # these supported items, assume the input models are valid JSON,
 # and do no addition verification of linking properties to valid types.
 # basic JSON properties
 # extended JSON properties
 # properties used for strings, other modifiers
 # description, readOnly, enum, $ref handled in a special function,
 # to rename / reorder properties

property_name