3 instantiations of JsonSchemaExporterOptions
dotnet (1)
CliSchema.cs (1)
94
var node = s_jsonContext.Options.GetJsonSchemaAsNode(typeof(RootCommandDetails), new
JsonSchemaExporterOptions
());
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
262
JsonSchemaExporterOptions 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.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
262
JsonSchemaExporterOptions
exporterOptions = new()
System.Text.Json (8)
System\Text\Json\Schema\JsonSchema.cs (1)
151
public JsonNode ToJsonNode(
JsonSchemaExporterOptions
options)
System\Text\Json\Schema\JsonSchemaExporter.cs (6)
27
public static JsonNode GetJsonSchemaAsNode(this JsonSerializerOptions options, Type type,
JsonSchemaExporterOptions
? exporterOptions = null)
43
public static JsonNode GetJsonSchemaAsNode(this JsonTypeInfo typeInfo,
JsonSchemaExporterOptions
? exporterOptions = null)
48
exporterOptions ??=
JsonSchemaExporterOptions
.Default;
413
bool IsNullableSchema(
JsonSchemaExporterOptions
options)
469
private readonly ref struct GenerationState(JsonSerializerOptions options,
JsonSchemaExporterOptions
exporterOptions)
476
public
JsonSchemaExporterOptions
ExporterOptions { get; } = exporterOptions;
System\Text\Json\Schema\JsonSchemaExporterOptions.cs (1)
16
public static
JsonSchemaExporterOptions
Default { get; } = new();