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)
- #default_value : Bool | Float64 | Int32 | Int64 | String | Nil
- #default_value=(default_value)
- #deprecated : Bool
- #deprecated=(deprecated)
- #description : String?
- #description=(description)
- #format : String?
- #format=(format)
- #name : String
- #name=(name)
- #parameter_location : String
- #parameter_location=(parameter_location)
- #ref : String?
- #ref=(ref)
- #required : Bool
- #required=(required)
- #type : String
- #type=(type)
Constructor Detail
def self.new(name : String, parameter_location : String, type = "string", description : String? = nil, default_value : String | Int32 | Int64 | Float64 | Bool? = nil, format : String? = nil, required = false, allow_empty_value = false, deprecated = false, ref : String? = nil)
#