2 references to EnumPropertyName
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Schema.Create.cs (2)
272
if (ctx.TypeInfo.Type.IsEnum && objSchema.ContainsKey(
EnumPropertyName
) && !objSchema.ContainsKey(TypePropertyName))
278
if (Nullable.GetUnderlyingType(ctx.TypeInfo.Type)?.IsEnum is true && objSchema.ContainsKey(
EnumPropertyName
) && !objSchema.ContainsKey(TypePropertyName))