class

AzuCLI::OpenAPI::Schema

Inherits YAML::Serializable < JSON::Serializable < Reference < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

additionalProperties
Source
additionalProperties=(additionalProperties : Bool | Schema | Nil)
Source
allOf

Composition

Source
allOf=(allOf : Array(Schema) | Nil)

Composition

Source
anyOf
Source
anyOf=(anyOf : Array(Schema) | Nil)
Source
default
Source
default=(default : String | Nil)
Source
description
Source
description=(description : String | Nil)
Source
enum
Source
enum=(enum __arg0 : Array(String) | Nil)
Source
format
Source
format=(format : String | Nil)
Source
items

Array properties

Source
items=(items : Schema | Nil)

Array properties

Source
maximum
Source
maximum=(maximum : Float64 | Nil)
Source
maxItems
Source
maxItems=(maxItems : Int32 | Nil)
Source
maxLength
Source
maxLength=(maxLength : Int32 | Nil)
Source
minimum

Numeric properties

Source
minimum=(minimum : Float64 | Nil)

Numeric properties

Source
minItems
Source
minItems=(minItems : Int32 | Nil)
Source
minLength

String properties

Source
minLength=(minLength : Int32 | Nil)

String properties

Source
multipleOf
Source
multipleOf=(multipleOf : Float64 | Nil)
Source
not=(not : Schema | Nil)
Source
nullable
Source
nullable=(nullable : Bool | Nil)
Source
oneOf
Source
oneOf=(oneOf : Array(Schema) | Nil)
Source
pattern
Source
pattern=(pattern : String | Nil)
Source
properties

Object properties

Source
properties=(properties : Hash(String, Schema) | Nil)

Object properties

Source
ref=(ref : String | Nil)
Source
required
Source
required=(required : Array(String) | Nil)
Source
type
Source
type=(type : String | Nil)
Source