struct Swagger::Objects::Server::Variable

Overview

ServerVariable Object

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

Included Modules

Defined in:

swagger/objects/server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(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 description : String | Nil #

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

[View source]