Class: Openapi3Parser::Node::MediaType
- Inherits:
-
Object
- Object
- Object
- Openapi3Parser::Node::MediaType
show all
- Defined in:
- lib/openapi3_parser/node/media_type.rb
Overview
Instance Attribute Summary
Attributes inherited from Object
#node_context, #node_data
Instance Method Summary
collapse
Methods inherited from Object
#==, #[], #each, #extension, #initialize, #inspect, #node_at, #render_markdown, #values
Instance Method Details
25
26
27
|
# File 'lib/openapi3_parser/node/media_type.rb', line 25
def encoding
self["encoding"]
end
|
#example ⇒ Any
15
16
17
|
# File 'lib/openapi3_parser/node/media_type.rb', line 15
def example
self["example"]
end
|
#examples ⇒ Map<String, Example>?
20
21
22
|
# File 'lib/openapi3_parser/node/media_type.rb', line 20
def examples
self["examples"]
end
|
10
11
12
|
# File 'lib/openapi3_parser/node/media_type.rb', line 10
def schema
self["schema"]
end
|