Class: OpenAPIParser::Schemas::Components
- Defined in:
- lib/openapi_parser/schemas/classes.rb,
lib/openapi_parser/schemas/components.rb
Instance Attribute Summary collapse
-
#headers ⇒ Hash{String => Header}?
readonly
Header objects.
- #parameters ⇒ Hash{String => Parameter}? readonly
- #request_bodies ⇒ Hash{String => RequestBody}? readonly
- #responses ⇒ Hash{String => Response}? readonly
Attributes inherited from Base
#object_reference, #parent, #raw_schema, #root
Method Summary
Methods inherited from Base
#after_init, #initialize, #inspect
Methods included from Expandable
Methods included from Findable
#find_object, #purge_object_cache
Methods included from Parser
#_openapi_all_child_objects, #_update_child_object, included, #load_data
Constructor Details
This class inherits a constructor from OpenAPIParser::Schemas::Base
Instance Attribute Details
#headers ⇒ Hash{String => Header}? (readonly)
Returns header objects.
26 |
# File 'lib/openapi_parser/schemas/components.rb', line 26 openapi_attr_hash_object :headers, Header, reference: true |
#parameters ⇒ Hash{String => Parameter}? (readonly)
10 |
# File 'lib/openapi_parser/schemas/components.rb', line 10 openapi_attr_hash_object :parameters, Parameter, reference: true |
#request_bodies ⇒ Hash{String => RequestBody}? (readonly)
22 |
# File 'lib/openapi_parser/schemas/components.rb', line 22 openapi_attr_hash_object :request_bodies, RequestBody, reference: true, schema_key: :requestBodies |