Class: DryOpenApi::DataTypes
- Inherits:
-
Object
- Object
- DryOpenApi::DataTypes
- Defined in:
- lib/dry_open_api/data_types.rb
Overview
defines the DataTypes defined by the spec and adds some shortcuts github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types
Class Method Summary collapse
Class Method Details
.all ⇒ Object
23 24 25 |
# File 'lib/dry_open_api/data_types.rb', line 23 def self.all @data end |
.all_types ⇒ Object
27 28 29 |
# File 'lib/dry_open_api/data_types.rb', line 27 def self.all_types all.map(&:type).uniq end |