2 instantiations of JsonSchemaExporterOptions
Microsoft.Extensions.AI.Abstractions (2)
src\Shared\JsonSchemaExporter\JsonSchemaExporterOptions.cs (1)
21
public static JsonSchemaExporterOptions Default { get; } =
new
();
Utilities\AIJsonUtilities.Schema.cs (1)
225
JsonSchemaExporterOptions exporterOptions =
new
()
10 references to JsonSchemaExporterOptions
Microsoft.Extensions.AI.Abstractions (10)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (7)
50
public static JsonNode GetJsonSchemaAsNode(this JsonSerializerOptions options, Type type,
JsonSchemaExporterOptions
? exporterOptions = null)
56
exporterOptions ??=
JsonSchemaExporterOptions
.Default;
70
public static JsonNode GetJsonSchemaAsNode(this JsonTypeInfo typeInfo,
JsonSchemaExporterOptions
? exporterOptions = null)
75
exporterOptions ??=
JsonSchemaExporterOptions
.Default;
80
private static JsonNode MapRootTypeJsonSchema(JsonTypeInfo typeInfo,
JsonSchemaExporterOptions
exporterOptions)
489
public GenerationState(
JsonSchemaExporterOptions
exporterOptions, JsonSerializerOptions options, NullabilityInfoContext? nullabilityInfoContext = null)
496
public
JsonSchemaExporterOptions
ExporterOptions { get; }
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (1)
327
public JsonNode ToJsonNode(
JsonSchemaExporterOptions
options)
src\Shared\JsonSchemaExporter\JsonSchemaExporterOptions.cs (1)
21
public static
JsonSchemaExporterOptions
Default { get; } = new();
Utilities\AIJsonUtilities.Schema.cs (1)
225
JsonSchemaExporterOptions
exporterOptions = new()