3 writes to DisallowAdditionalProperties
Microsoft.Extensions.AI (1)
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
24DisallowAdditionalProperties = true,
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
111DisallowAdditionalProperties = false, 276? new() { DisallowAdditionalProperties = false } // Do not append additionalProperties: false to the schema if the type has extension data.
3 references to DisallowAdditionalProperties
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.cs (1)
461DisallowAdditionalProperties = options.DisallowAdditionalProperties;
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
45Assert.True(options.DisallowAdditionalProperties);
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
195Assert.True(schemaOptions.DisallowAdditionalProperties);