Class: SwaggerApi::ComponentSchema
- Inherits:
-
Object
- Object
- SwaggerApi::ComponentSchema
- Includes:
- ActiveAttr::Model, SwaggerApi::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.
7 8 9 |
# File 'lib/swagger_api/component_schema.rb', line 7 def controller @controller end |
Instance Method Details
#create ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/swagger_api/component_schema.rb', line 9 def create { required: required, properties: properties, type: 'object' } end |