struct Swagger::Objects::Property

Included Modules

Defined in:

swagger/objects/property.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(type : String, description : String? = nil, items : Schema? = nil, default : String | Int32 | Int64 | Float64 | Bool? = nil, example : String | Int32 | Int64 | Float64 | Bool? = nil, required : Bool? = nil) #

[View source]

Instance Method Detail

def default : String | Int32 | Int64 | Float64 | Bool | Nil #

[View source]
def description : String? #

[View source]
def example : String | Int32 | Int64 | Float64 | Bool | Nil #

[View source]
def items : Schema? #

[View source]
def required : Bool? #

[View source]
def type : String #

[View source]