From 8db773c42a83df866a9b88a6e4479414b98ba979 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Fri, 11 Oct 2024 04:53:43 +0400 Subject: [PATCH] feat: Added support for type: any. --- src/libs/AutoSDK/Models/TypeData.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/AutoSDK/Models/TypeData.cs b/src/libs/AutoSDK/Models/TypeData.cs index d8e0fa8c45..46933fb7c9 100644 --- a/src/libs/AutoSDK/Models/TypeData.cs +++ b/src/libs/AutoSDK/Models/TypeData.cs @@ -284,6 +284,7 @@ public static string GetCSharpType(SchemaContext context) $"global::{context.Settings.Namespace}.{context.Id}", (null, null) => "object", ("null", _) => "object", + ("any", _) => "object", _ => throw new NotSupportedException($"Type {context.Schema.Type} is not supported."), };