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, tags : Array(Objects::Tag)? = nil, security : Hash(String, Array(String))? = nil, components : Objects::Components? = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #components : Objects::Components?
- #components=(components : Objects::Components?)
- #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))?
- #security=(security : Hash(String, Array(String))?)
- #servers : Array(Objects::Server)?
- #servers=(servers : Array(Objects::Server)?)
- #tags : Array(Objects::Tag)?
- #tags=(tags : Array(Objects::Tag)?)
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)
#