Skip to content

Commit

Permalink
feat: Added support for type: any.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Oct 11, 2024
1 parent ddd8358 commit 8db773c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/AutoSDK/Models/TypeData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
};

Expand Down

0 comments on commit 8db773c

Please sign in to comment.