class OpenAPI::Schema

Included Modules

Defined in:

open_api/schema.cr

Constructors

Instance Method Summary

Constructor methods inherited from module OpenAPI::Object

new(*, __mass_assignable_attributes args : T) forall T new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

def self.new(**args) #

[View source]

Instance Method Detail

def additional_properties : Bool | Schema | Reference | Nil #

def all_of : Array(Schema | Reference) | Nil #

def any_of : Array(Schema | Reference) | Nil #

def default : JSON::Any::Type #

def description : String | Nil #

def enum : Array(JSON::Any::Type) | Nil #

def exclusive_maximum : Bool | Nil #

def exclusive_minimum : Bool | Nil #

def format : String | Nil #

def items : Schema | Reference | Nil #

def max_items : Int32 | Nil #

def max_length : Int32 | Nil #

def max_properties : Int32 | Nil #

def maximum : Int32 | Nil #

def min_items : Int32 | Nil #

def min_length : Int32 | Nil #

def min_properties : Int32 | Nil #

def minimum : Int32 | Nil #

def multiple_of : Int32 | Nil #

def not : Schema | Reference | Nil #

def one_of : Array(Schema | Reference) | Nil #

def pattern : String | Nil #

def properties : Hash(String, Schema | Reference) | Nil #

def required : Array(String) | Nil #

def title : String | Nil #

def type : String | Nil #

def unique_items : Bool | Nil #