Class: Openapi3Parser::Node::Discriminator
- Defined in:
- lib/openapi3_parser/node/discriminator.rb
Overview
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from Object
#==, #[], #each, #extension, #initialize, #inspect, #node_at, #render_markdown, #values
Constructor Details
This class inherits a constructor from Openapi3Parser::Node::Object
Instance Method Details
#mapping ⇒ Map<String, String>
15 16 17 |
# File 'lib/openapi3_parser/node/discriminator.rb', line 15 def mapping self["mapping"] end |
#property_name ⇒ String
10 11 12 |
# File 'lib/openapi3_parser/node/discriminator.rb', line 10 def property_name self["propertyName"] end |