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.3.md#parameterObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/parameter.crConstructors
- .new(name : String, parameter_location : Location, 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 : Location
- #ref : String | Nil
- #required : Bool
- #schema : Schema
Constructor Detail
def self.new(name : String, parameter_location : Location, schema : Schema, description : String | Nil = nil, required : Bool = false, allow_empty_value : Bool = false, deprecated : Bool = false, ref : String | Nil = nil)
#