struct Swagger::Objects::Document

Included Modules

Defined in:

swagger/objects/document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(info : Objects::Info, paths : Hash(String, Objects::PathItem), servers : Array(Objects::Server)? = nil, tags : Array(Objects::Tag)? = nil, security : Hash(String, Array(String))? = nil, components : Objects::Components? = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def components : Objects::Components? #

[View source]
def components=(components : Objects::Components?) #

[View source]
def info : Objects::Info #

[View source]
def info=(info : Objects::Info) #

[View source]
def openapi_version : String #

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

[View source]
def paths : Hash(String, Objects::PathItem) #

[View source]
def paths=(paths : Hash(String, Objects::PathItem)) #

[View source]
def security : Hash(String, Array(String))? #

[View source]
def security=(security : Hash(String, Array(String))?) #

[View source]
def servers : Array(Objects::Server)? #

[View source]
def servers=(servers : Array(Objects::Server)?) #

[View source]
def tags : Array(Objects::Tag)? #

[View source]
def tags=(tags : Array(Objects::Tag)?) #

[View source]