class

Crig::Providers::Gemini::Schema

Inherits JSON::Serializable < Reference < Object

Constructors

new(type : String, format : String | Nil = nil, description : String | Nil = nil, nullable : Bool | Nil = nil, enum_values : Array(String) | Nil = nil, max_items : Int32 | Nil = nil, min_items : Int32 | Nil = nil, properties : Hash(String, Schema) | Nil = nil, required : Array(String) | Nil = nil, items : Schema | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
try_from(value : JSON::Any) : self
Source

Instance methods

description
Source
enum_values
Source
format
Source
items
Source
max_items
Source
min_items
Source
nullable
Source
properties
Source
required
Source
type
Source