struct Swagger::Objects::Parameter

Overview

Parameter Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#parameterObject

Included Modules

Defined in:

swagger/objects/parameter.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def allow_empty_value : Bool #

[View source]
def deprecated : Bool #

[View source]
def description : String? #

[View source]
def name : String #

[View source]
def parameter_location : Location #

[View source]
def ref : String? #

[View source]
def required : Bool #

[View source]
def schema : Schema #

[View source]