class Swagger::Schema

Included Modules

Defined in:

swagger/schema.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]

Instance Method Detail

def additionalProperties : Bool | Schema | Nil #

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

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

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

[View source]
def description : String | Nil #

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

[View source]
def enum #

[View source]
def enum? #

[View source]
def format : String | Nil #

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

[View source]
def items : Array(String) | Schema #

def items=(items : Array(String) | Schema) #

[View source]
def items? : Array(String) | Schema | Nil #

def nullable=(nullable : Bool) #

[View source]
def nullable? : Bool #

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

def properties=(properties : Hash(String, Schema)) #

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

def ref=(ref : String | Nil) #

[View source]
def ref? : String | Nil #

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

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

[View source]
def title : String | Nil #

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

[View source]
def type : String #

def type=(type : String) #

[View source]
def type? : String | Nil #