Open::Api::Parameter
Inherits YAML::Serializable < JSON::Serializable < Reference < Object
https://swagger.io/specification/#parameter-object
Constructors
new(name : String, parameter_in : String, schema : SchemaRef | Nil = nil, required : Bool = false, deprecated : Bool = false, example : Open::Api::ExampleValue = nil, examples : Hash(String, Open::Api::ExampleValue) = Hash(String, Open::Api::ExampleValue).new, description : String | Nil = nil, style : String | Nil = nil, allow_reserved : Bool = false)
Sourcenew(name, type, location = "query", description : String = "", required : Bool = false, default_value : String | Int32 | Int64 | Float64 | Bool | Nil = nil, example : Open::Api::ExampleValue = nil) : Open::Api::Parameter
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
allow_reserved
Sourcedeprecated
Sourcedescription
Sourceexample
Sourceexample=(example : Open::Api::ExampleValue)
Sourceexamples
Sourcename
Sourceparameter_in
Sourcerequired
Sourceschema
Sourcestyle
Source