struct Swagger::Objects::Components

Overview

Components Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.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 = nil, responses : Hash(String, Response) | Nil = nil, parameters : Hash(String, Parameter) | Nil = nil, examples : Hash(String, Example) | Nil = nil, request_bodies : Hash(String, RequestBody) | Nil = nil, headers : Hash(String, Header) | Nil = nil, security_schemes : Hash(String, SecurityScheme) | Nil = nil, links : Hash(String, Link) | Nil = nil, callbacks : Hash(String, Hash(String, PathItem)) | Nil = nil) #

[View source]

Instance Method Detail

def callbacks : Hash(String, Hash(String, PathItem)) | Nil #

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

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

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

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

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

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

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

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

[View source]