4 writes to Required
System.Text.Json (4)
System\Text\Json\Schema\JsonSchemaExporter.cs (4)
186
Required
= containsTypesWithoutDiscriminator ? null : [typeDiscriminatorKey]
268
Required
= required,
318
Required
= parentPolymorphicTypeContainsTypesWithoutDiscriminator ? [typeDiscriminator.Value.Key] : null,
346
Required
= dictRequired,
3 references to Required
System.Text.Json (3)
System\Text\Json\Schema\JsonSchema.cs (3)
118
Count(
Required
!= null);
201
if (
Required
!= null)
204
foreach (string requiredProperty in
Required
)