Swagger::Property
Inherits Struct < Value < Object
Constructors
new(name : String, type : String = "string", format : String | Nil = nil, description : String | Nil = nil, default_value : String | Int32 | Int64 | Float64 | Bool | Nil = nil, example : String | Int32 | Int64 | Float64 | Bool | Nil = nil, required : Bool | Nil = nil)
SourceInstance methods
default_value
Sourcedefault_value=(default_value : Bool | Float64 | Int32 | Int64 | String | Nil)
Sourcedescription
Sourcedescription=(description : Nil | String)
Sourceexample
Sourceexample=(example : Bool | Float64 | Int32 | Int64 | String | Nil)
Sourceformat
Sourceformat=(format : Nil | String)
Sourcename
Sourcename=(name : String)
Sourcerequired
Sourcerequired=(required : Bool | Nil)
Sourcetype
Sourcetype=(type : String)
Source