Exception: Dry::Swagger::Errors::MissingHashSchemaError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dry/swagger/errors/missing_hash_schema_error.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



5
6
7
8
9
10
11
# File 'lib/dry/swagger/errors/missing_hash_schema_error.rb', line 5

def message
  "Could not generate documentation for field %{field_name}. The field is defined as hash,
  but the schema is not defined.
  Valid types are: %{valid_types}.
  The parser has generated the following definition for the field: %{field_name}: %{definition}
  "
end