struct Swagger::Objects::Server

Overview

Server Object

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

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(url : String, description : String? = nil, variables : Hash(String, Variable)? = nil) #

[View source]

Instance Method Detail

def description : String? #

[View source]
def url : String #

[View source]
def variables : Hash(String, Variable)? #

[View source]