Table of Contents

Enum SchemaType

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Type contains the list of OpenAPI data types as defined by https://spec.openapis.org/oas/v3.0.3#data-types.

[JsonConverter(typeof(JsonStringEnumConverter<SchemaType>))]
public enum SchemaType
Extension Methods

Fields

TYPE_UNSPECIFIED = 0

Not specified, should not be used.

STRING = 1

String type.

NUMBER = 2

Number type.

INTEGER = 3

Integer type.

BOOLEAN = 4

Boolean type.

ARRAY = 5

Array type.

OBJECT = 6

Object type.

See Also