struct Swagger::Parameter

Overview

Use parameter in Swagger::Action

Defined in:

swagger/parameter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, parameter_location : String, type = "string", description : String? = nil, default_value : String | Int32 | Int64 | Float64 | Bool? = nil, format : String? = nil, required = false, allow_empty_value = false, deprecated = false, ref : String? = nil) #

[View source]

Instance Method Detail

def allow_empty_value : Bool #

[View source]
def allow_empty_value=(allow_empty_value) #

[View source]
def default_value : Bool | Float64 | Int32 | Int64 | String | Nil #

[View source]
def default_value=(default_value) #

[View source]
def deprecated : Bool #

[View source]
def deprecated=(deprecated) #

[View source]
def description : String? #

[View source]
def description=(description) #

[View source]
def format : String? #

[View source]
def format=(format) #

[View source]
def name : String #

[View source]
def name=(name) #

[View source]
def parameter_location : String #

[View source]
def parameter_location=(parameter_location) #

[View source]
def ref : String? #

[View source]
def ref=(ref) #

[View source]
def required : Bool #

[View source]
def required=(required) #

[View source]
def type : String #

[View source]
def type=(type) #

[View source]