Swagger::Objects::Document
Inherits JSON::Serializable < Struct < Value < Object
Constructors
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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
components
Sourcecomponents=(components : Objects::Components | Nil)
Sourceinfo
Sourceinfo=(info : Objects::Info)
Sourceopenapi_version
Sourceopenapi_version=(openapi_version : String)
Sourcepaths
Sourcepaths=(paths : Hash(String, Objects::PathItem))
Sourcesecurity
Sourcesecurity=(security : Hash(String, Array(String)) | Nil)
Sourceservers
Sourceservers=(servers : Array(Objects::Server) | Nil)
Sourcetags
Sourcetags=(tags : Array(Objects::Tag) | Nil)
Source