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 = nil, default : String | Int32 | Int64 | Float64 | Bool | Nil = nil, example : String | Int32 | Int64 | Float64 | Bool | Nil = nil, required : Bool | Nil = nil) #

[View source]

Instance Method Detail

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

[View source]
def description : String | Nil #

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

[View source]
def required : Bool | Nil #

[View source]
def type : String #

[View source]