struct Swagger::Objects::Parameter
- Swagger::Objects::Parameter
 - Struct
 - Value
 - Object
 
Overview
Parameter Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject
Included Modules
- JSON::Serializable
 
Defined in:
swagger/objects/parameter.crConstant Summary
- 
        LOCATIOINS = 
["path", "query", "header", "cookie"] of ::String 
Constructors
- .new(name : String, parameter_location : String, schema : Schema, description : String | Nil = nil, required : Bool = false, allow_empty_value : Bool = false, deprecated : Bool = false, ref : String | Nil = nil)
 - .new(pull : JSON::PullParser)
 
Instance Method Summary
- #allow_empty_value : Bool
 - #deprecated : Bool
 - #description : String | Nil
 - #name : String
 - #parameter_location : String
 - #ref : String | Nil
 - #required : Bool
 - #schema : Schema
 
Constructor Detail
        
        def self.new(name : String, parameter_location : String, schema : Schema, description : String | Nil = nil, required : Bool = false, allow_empty_value : Bool = false, deprecated : Bool = false, ref : String | Nil = nil)
        #