struct Swagger::Server::Variable

Defined in:

swagger/server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, default_value : String, enum_values : Array(String) | Nil = nil, description : String | Nil = nil) #

[View source]

Instance Method Detail

def default_value : String #

[View source]
def default_value=(default_value : String) #

[View source]
def description : String? #

[View source]
def description=(description : Nil | String) #

[View source]
def enum_values : Array(String)? #

[View source]
def enum_values=(enum_values : Nil | Array(String)) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]