You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GoLive.Generator.ApiClientGenerator/ApiClientGenerator.cs
+20-3
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,14 @@ private static RouteGeneratorSettings LoadConfig(IEnumerable<AdditionalText> con
241
241
242
242
returnconfig;
243
243
}
244
-
244
+
privatestaticboolIsPrimitiveType(stringtypeName)
245
+
{
246
+
returntypeNameswitch
247
+
{
248
+
"bool" or "Boolean" or "System.Boolean" or "byte" or "Byte" or "System.Byte" or "sbyte" or "SByte" or "System.SByte" or "char" or "Char" or "System.Char" or "decimal" or "Decimal" or "System.Decimal" or "double" or "Double" or "System.Double" or "float" or "Single" or "System.Single" or "int" or "Int32" or "System.Int32" or "uint" or "UInt32" or "System.UInt32" or "long" or "Int64" or "System.Int64" or "ulong" or "UInt64" or "System.UInt64" or "short" or "Int16" or "System.Int16" or "ushort" or "UInt16" or "System.UInt16" or "string" or "String" or "System.String"=>true,
0 commit comments