Class: OpenAPIParser::Schemas::Schema
- Inherits:
-
Object
- Object
- OpenAPIParser::Schemas::Schema
- Includes:
- Fakeit::Openapi::Schema
- Defined in:
- lib/fakeit/core_extensions/schema.rb
Constant Summary
Constants included from Fakeit::Openapi::Example
Fakeit::Openapi::Example::MAX_NUM, Fakeit::Openapi::Example::MIN_NUM, Fakeit::Openapi::Example::RANDOM_FORMAT_HANDLERS, Fakeit::Openapi::Example::STATIC_FORMAT_HANDLERS
Instance Method Summary collapse
Methods included from Fakeit::Openapi::Schema
Methods included from Fakeit::Openapi::Example
#array_example, #boolean_example, #integer_example, #number_example, #object_example, #string_example
Instance Method Details
#old_type ⇒ Object
8 |
# File 'lib/fakeit/core_extensions/schema.rb', line 8 alias old_type type |
#type ⇒ Object
10 11 12 |
# File 'lib/fakeit/core_extensions/schema.rb', line 10 def type old_type || inferred_type end |