struct Swagger::Parameter
- Swagger::Parameter
 - Struct
 - Value
 - Object
 
Overview
Use parameter in Swagger::Action
Defined in:
swagger/parameter.crConstructors
Instance Method Summary
- #allow_empty_value : Bool
 - #allow_empty_value=(allow_empty_value : Bool)
 - #default_value : Bool | Float64 | Int32 | Int64 | String | Nil
 - #default_value=(default_value : Bool | Float64 | Int32 | Int64 | String | Nil)
 - #deprecated : Bool
 - #deprecated=(deprecated : Bool)
 - #description : String?
 - #description=(description : Nil | String)
 - #format : String?
 - #format=(format : Nil | String)
 - #name : String
 - #name=(name : String)
 - #parameter_location : String
 - #parameter_location=(parameter_location : String)
 - #ref : String?
 - #ref=(ref : Nil | String)
 - #required : Bool
 - #required=(required : Bool)
 - #type : String
 - #type=(type : String)
 
Constructor Detail
        
        def self.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)
        #