struct

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)
Source

Instance methods

allow_empty_value
Source
allow_empty_value=(allow_empty_value : Bool)
Source
default_value
Source
default_value=(default_value : Bool | Float64 | Int32 | Int64 | String | Nil)
Source
deprecated
Source
deprecated=(deprecated : Bool)
Source
description
Source
description=(description : Nil | String)
Source
format
Source
format=(format : Nil | String)
Source
name
Source
name=(name : String)
Source
parameter_location
Source
parameter_location=(parameter_location : String)
Source
ref=(ref : Nil | String)
Source
required
Source
required=(required : Bool)
Source
type
Source
type=(type : String)
Source