Class: Swagger::Api::ComponentSchema
- Inherits:
-
Object
- Object
- Swagger::Api::ComponentSchema
- Includes:
- ActiveAttr::Model, Swagger::Api::Concerns::Columns
- Defined in:
- lib/swagger/api/component_schema.rb
Instance Attribute Summary collapse
-
#controller ⇒ Object
Returns the value of attribute controller.
Instance Method Summary collapse
Instance Attribute Details
#controller ⇒ Object
Returns the value of attribute controller.
6 7 8 |
# File 'lib/swagger/api/component_schema.rb', line 6 def controller @controller end |
Instance Method Details
#create ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/swagger/api/component_schema.rb', line 8 def create { required: required, properties: properties, type: 'object' } end |