class AzuCLI::OpenAPI::Schema

Included Modules

Defined in:

azu_cli/openapi/spec.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new #

[View source]

Instance Method Detail

def additionalProperties : Bool | Schema | Nil #

[View source]
def additionalProperties=(additionalProperties : Bool | Schema | Nil) #

[View source]
def allOf : Array(Schema) | Nil #

Composition


[View source]
def allOf=(allOf : Array(Schema) | Nil) #

Composition


[View source]
def anyOf : Array(Schema) | Nil #

[View source]
def anyOf=(anyOf : Array(Schema) | Nil) #

[View source]
def default : String | Nil #

[View source]
def default=(default : String | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def enum : Array(String) | Nil #

[View source]
def enum=(enum __arg0 : Array(String) | Nil) #

[View source]
def format : String | Nil #

[View source]
def format=(format : String | Nil) #

[View source]
def items : Schema | Nil #

Array properties


[View source]
def items=(items : Schema | Nil) #

Array properties


[View source]
def maximum : Float64 | Nil #

[View source]
def maximum=(maximum : Float64 | Nil) #

[View source]
def maxItems : Int32 | Nil #

[View source]
def maxItems=(maxItems : Int32 | Nil) #

[View source]
def maxLength : Int32 | Nil #

[View source]
def maxLength=(maxLength : Int32 | Nil) #

[View source]
def minimum : Float64 | Nil #

Numeric properties


[View source]
def minimum=(minimum : Float64 | Nil) #

Numeric properties


[View source]
def minItems : Int32 | Nil #

[View source]
def minItems=(minItems : Int32 | Nil) #

[View source]
def minLength : Int32 | Nil #

String properties


[View source]
def minLength=(minLength : Int32 | Nil) #

String properties


[View source]
def multipleOf : Float64 | Nil #

[View source]
def multipleOf=(multipleOf : Float64 | Nil) #

[View source]
def not : Schema | Nil #

[View source]
def not=(not : Schema | Nil) #

[View source]
def nullable : Bool | Nil #

[View source]
def nullable=(nullable : Bool | Nil) #

[View source]
def oneOf : Array(Schema) | Nil #

[View source]
def oneOf=(oneOf : Array(Schema) | Nil) #

[View source]
def pattern : String | Nil #

[View source]
def pattern=(pattern : String | Nil) #

[View source]
def properties : Hash(String, Schema) | Nil #

Object properties


[View source]
def properties=(properties : Hash(String, Schema) | Nil) #

Object properties


[View source]
def ref : String | Nil #

[View source]
def ref=(ref : String | Nil) #

[View source]
def required : Array(String) | Nil #

[View source]
def required=(required : Array(String) | Nil) #

[View source]
def type : String | Nil #

[View source]
def type=(type : String | Nil) #

[View source]