Exception: Dry::Swagger::Errors::MissingTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Swagger::Errors::MissingTypeError
- Defined in:
- lib/dry/swagger/errors/missing_type_error.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/dry/swagger/errors/missing_type_error.rb', line 5 def "Could not generate documentation for field %{field_name}. The field is missing a type. If the field you have defined is an array, you must specify the type of the elements in that array. Valid types are: %{valid_types}. The parser has generated the following definition for the field: %{field_name}: %{definition}. " end |