class Dry::Swagger::Errors::MissingTypeError
Public Instance Methods
message()
click to toggle source
# File lib/dry/swagger/errors/missing_type_error.rb, line 5 def message "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