struct Swagger::Objects::Components

Overview

Components Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#componentsObject

Included Modules

Defined in:

swagger/objects/components.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(schemas : Hash(String, Schema)? = nil, responses : Hash(String, Response)? = nil, parameters : Hash(String, Parameter)? = nil, examples : Hash(String, Example)? = nil, request_bodies : Hash(String, RequestBody)? = nil, headers : Hash(String, Header)? = nil, security_schemes : Hash(String, SecurityScheme)? = nil, links : Hash(String, Link)? = nil, callbacks : Hash(String, Hash(String, PathItem))? = nil) #

[View source]

Instance Method Detail

def callbacks : Hash(String, Hash(String, PathItem))? #

[View source]
def examples : Hash(String, Example)? #

[View source]
def headers : Hash(String, Header)? #

[View source]
def links : Hash(String, Link)? #

[View source]
def parameters : Hash(String, Parameter)? #

[View source]
def request_bodies : Hash(String, RequestBody)? #

[View source]
def responses : Hash(String, Response)? #

[View source]
def schemas : Hash(String, Schema)? #

[View source]
def security_schemes : Hash(String, SecurityScheme)? #

[View source]