struct Swagger::Objects::Server

Overview

Server Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.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 = nil, variables : Hash(String, Variable) | Nil = nil) #

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def url : String #

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

[View source]