struct Swagger::Objects::Document
- Swagger::Objects::Document
 - Struct
 - Value
 - Object
 
Included Modules
- JSON::Serializable
 
Defined in:
swagger/objects/document.crConstructors
- .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)
 - .new(pull : JSON::PullParser)
 
Instance Method Summary
- #components : Objects::Components | Nil
 - #components=(components : Objects::Components | Nil)
 - #info : Objects::Info
 - #info=(info : Objects::Info)
 - #openapi_version : String
 - #openapi_version=(openapi_version : String)
 - #paths : Hash(String, Objects::PathItem)
 - #paths=(paths : Hash(String, Objects::PathItem))
 - #security : Hash(String, Array(String)) | Nil
 - #security=(security : Hash(String, Array(String)) | Nil)
 - #servers : Array(Objects::Server) | Nil
 - #servers=(servers : Array(Objects::Server) | Nil)
 - #tags : Array(Objects::Tag) | Nil
 - #tags=(tags : Array(Objects::Tag) | Nil)
 
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)
        #