Swagger::Parameter
Inherits Struct < Value < Object
Use parameter in Swagger::Action
Constructors
new(name : String, parameter_location : String, type : String = "string", description : String | Nil = nil, default_value : String | Int32 | Int64 | Float64 | Bool | Nil = nil, format : String | Nil = nil, required : Bool = false, allow_empty_value : Bool = false, deprecated : Bool = false, ref : String | Nil = nil)
SourceInstance methods
allow_empty_value
Sourceallow_empty_value=(allow_empty_value : Bool)
Sourcedefault_value
Sourcedefault_value=(default_value : Bool | Float64 | Int32 | Int64 | String | Nil)
Sourcedeprecated
Sourcedeprecated=(deprecated : Bool)
Sourcedescription
Sourcedescription=(description : Nil | String)
Sourceformat
Sourceformat=(format : Nil | String)
Sourcename
Sourcename=(name : String)
Sourceparameter_location
Sourceparameter_location=(parameter_location : String)
Sourceref
Sourceref=(ref : Nil | String)
Sourcerequired
Sourcerequired=(required : Bool)
Sourcetype
Sourcetype=(type : String)
Source