Class: OpenApi::DataTypes
- Inherits:
-
Object
- Object
- OpenApi::DataTypes
- Defined in:
- lib/open_api/data_types.rb
Class Method Summary collapse
Class Method Details
.all ⇒ Object
19 20 21 |
# File 'lib/open_api/data_types.rb', line 19 def self.all @data end |
.all_types ⇒ Object
23 24 25 |
# File 'lib/open_api/data_types.rb', line 23 def self.all_types all.map(&:type).uniq end |