13 references to Integer
Microsoft.Extensions.AI.Abstractions (13)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (11)
583
[typeof(byte)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
584
[typeof(ushort)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
585
[typeof(uint)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
586
[typeof(ulong)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
587
[typeof(sbyte)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
588
[typeof(short)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
589
[typeof(int)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
590
[typeof(long)] = numberHandling => GetSchemaForNumericType(JsonSchemaType.
Integer
, numberHandling),
639
Debug.Assert(schemaType is JsonSchemaType.
Integer
or JsonSchemaType.Number, "schema type must be number or integer");
646
if (schemaType is JsonSchemaType.
Integer
)
764
return new() { Type = JsonSchemaType.
Integer
};
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (2)
482
JsonSchemaType.
Integer
,
522
JsonSchemaType.
Integer
=> "integer",