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 = nil, tags : Array(Objects::Tag) | Nil = nil, security : Hash(String, Array(String)) | Nil = nil, components : Objects::Components | Nil = nil) #

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

[View source]

Instance Method Detail

def components : Objects::Components | Nil #

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

[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)) | Nil #

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

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

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

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

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

[View source]