Sha256: 5b10d91b42a5829f700de2ae7a06cfeca604753dfe3b197fbda1932d4a66e549

Contents?: true

Size: 461 Bytes

Versions: 6

Compression:

Stored size: 461 Bytes

Contents

module Dry
  module Swagger
    module Errors
      class MissingHashSchemaError < StandardError
        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}: %{attributes_hash}
          "
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dry-swagger-0.5.2 lib/dry/swagger/errors/missing_hash_schema_error.rb
dry-swagger-0.5.1 lib/dry/swagger/errors/missing_hash_schema_error.rb
dry-swagger-0.5.0 lib/dry/swagger/errors/missing_hash_schema_error.rb
dry-swagger-0.4.2 lib/dry/swagger/errors/missing_hash_schema_error.rb
dry-swagger-0.4.1 lib/dry/swagger/errors/missing_hash_schema_error.rb
dry-swagger-0.4.0 lib/dry/swagger/errors/missing_hash_schema_error.rb