4 writes to Required
Microsoft.Extensions.AI.Abstractions (4)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (4)
216Required = containsTypesWithoutDiscriminator ? null : new() { typeDiscriminatorKey }, 341Required = required, 392Required = parentPolymorphicTypeContainsTypesWithoutDiscriminator ? new() { typeDiscriminator.Value.Key } : null, 421Required = dictRequired,
3 references to Required
Microsoft.Extensions.AI.Abstractions (3)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
298Count(Required != null); 392if (Required != null) 395foreach (string requiredProperty in Required)