5 instantiations of JsonSchemaExporterOptions
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
56
private readonly JsonSchemaExporterOptions _configuration =
new
()
Microsoft.Extensions.AI.Abstractions.Tests (3)
test\Shared\JsonSchemaExporter\TestTypes.cs (3)
167
ExporterOptions:
new
() { TreatNullObliviousAsNonNullable = true });
327
ExporterOptions:
new
() { TreatNullObliviousAsNonNullable = true });
770
ExporterOptions:
new
()
System.Text.Json (1)
System\Text\Json\Schema\JsonSchemaExporterOptions.cs (1)
16
public static JsonSchemaExporterOptions Default { get; } =
new
();
9 references to JsonSchemaExporterOptions
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
56
private readonly
JsonSchemaExporterOptions
_configuration = new()
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestData.cs (1)
17
JsonSchemaExporterOptions
? ExporterOptions = null,
System.Text.Json (7)
System\Text\Json\Schema\JsonSchema.cs (1)
151
public JsonNode ToJsonNode(
JsonSchemaExporterOptions
options)
System\Text\Json\Schema\JsonSchemaExporter.cs (5)
27
public static JsonNode GetJsonSchemaAsNode(this JsonSerializerOptions options, Type type,
JsonSchemaExporterOptions
? exporterOptions = null)
50
public static JsonNode GetJsonSchemaAsNode(this JsonTypeInfo typeInfo,
JsonSchemaExporterOptions
? exporterOptions = null)
58
exporterOptions ??=
JsonSchemaExporterOptions
.Default;
408
private readonly ref struct GenerationState(JsonSerializerOptions options,
JsonSchemaExporterOptions
exporterOptions)
415
public
JsonSchemaExporterOptions
ExporterOptions { get; } = exporterOptions;
System\Text\Json\Schema\JsonSchemaExporterOptions.cs (1)
16
public static
JsonSchemaExporterOptions
Default { get; } = new();