Class: OpenAPIParser::Schemas::Discriminator
- Defined in:
- lib/openapi_parser/schemas/classes.rb,
lib/openapi_parser/schemas/discriminator.rb
Instance Attribute Summary collapse
-
#mapping ⇒ Hash{String => String]
readonly
Hash{String => String].
- #property_name ⇒ String? 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
#mapping ⇒ Hash{String => String] (readonly)
Returns Hash{String => String].
9 |
# File 'lib/openapi_parser/schemas/discriminator.rb', line 9 openapi_attr_value :mapping |
#property_name ⇒ String? (readonly)
5 |
# File 'lib/openapi_parser/schemas/discriminator.rb', line 5 openapi_attr_value :property_name, schema_key: :propertyName |