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 = 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)
Instance Method Summary
- #callbacks : Hash(String, Hash(String, PathItem)) | Nil
- #examples : Hash(String, Example) | Nil
- #headers : Hash(String, Header) | Nil
- #links : Hash(String, Link) | Nil
- #parameters : Hash(String, Parameter) | Nil
- #request_bodies : Hash(String, RequestBody) | Nil
- #responses : Hash(String, Response) | Nil
- #schemas : Hash(String, Schema) | Nil
- #security_schemes : Hash(String, SecurityScheme) | Nil
Constructor Detail
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)
#