struct

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

components
Source
components=(components : Objects::Components | Nil)
Source
info
Source
info=(info : Objects::Info)
Source
openapi_version
Source
openapi_version=(openapi_version : String)
Source
paths
Source
paths=(paths : Hash(String, Objects::PathItem))
Source
security
Source
security=(security : Hash(String, Array(String)) | Nil)
Source
servers
Source
servers=(servers : Array(Objects::Server) | Nil)
Source
tags
Source
tags=(tags : Array(Objects::Tag) | Nil)
Source