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