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, required = false, allow_empty_value = false, deprecated = false, ref : String? = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #allow_empty_value : Bool
- #deprecated : Bool
- #description : String?
- #name : String
- #parameter_location : Location
- #ref : String?
- #required : Bool
- #schema : Schema
Constructor Detail
def self.new(name : String, parameter_location : Location, schema : Schema, description : String? = nil, required = false, allow_empty_value = false, deprecated = false, ref : String? = nil)
#