struct Swagger::Objects::Components
- Swagger::Objects::Components
- Struct
- Value
- Object
Overview
Components Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#componentsObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/components.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #callbacks : Hash(String, Hash(String, PathItem))?
- #examples : Hash(String, Example)?
- #headers : Hash(String, Header)?
- #links : Hash(String, Link)?
- #parameters : Hash(String, Parameter)?
- #request_bodies : Hash(String, RequestBody)?
- #responses : Hash(String, Response)?
- #schemas : Hash(String, Schema)?
- #security_schemes : Hash(String, SecurityScheme)?
Constructor Detail
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)
#