diff --git a/src/vanilla/ClientModelExtensions.cs b/src/vanilla/ClientModelExtensions.cs
index e901a11..a8ff458 100644
--- a/src/vanilla/ClientModelExtensions.cs
+++ b/src/vanilla/ClientModelExtensions.cs
@@ -179,7 +179,7 @@ private static string GetSeparator(this CollectionFormat format)
}
///
- /// Format the value of a sequence given the modeled element format. Note that only sequences of strings are supported.
+ /// Format the value of a sequence given the modeled element format.
///
/// The parameter to format.
/// A reference to the formatted parameter value.
@@ -191,19 +191,6 @@ public static string GetFormattedReferenceValue(this Parameter parameter)
return parameter.Name;
}
- PrimaryType primaryType = sequence.ElementType as PrimaryType;
- EnumType enumType = sequence.ElementType as EnumType;
- if (enumType != null && enumType.ModelAsString)
- {
- primaryType = New(KnownPrimaryType.String);
- }
-
- if (primaryType == null || primaryType.KnownPrimaryType != KnownPrimaryType.String)
- {
- throw new InvalidOperationException(
- "Cannot generate a formatted sequence from a " + $"non-string array parameter {parameter}");
- }
-
return string.Format("{0}.nil? ? nil : {0}.join('{1}')", parameter.Name, parameter.CollectionFormat.GetSeparator());
}