Sha256: f954c7c0e3d89a996b7e0c4f5d546c1d5b0cd6940e1515a76ac38241ba875c9e

Contents?: true

Size: 519 Bytes

Versions: 15

Compression:

Stored size: 519 Bytes

Contents

module Dry
  module Swagger
    module Errors
      class MissingTypeError < StandardError
        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
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dry-swagger-2.0.5 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-2.0.4 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-2.0.3 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-2.0.2 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-2.0.1 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-2.0.0 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-1.0.0 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.7.2 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.7.1 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.7.0 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.6.4 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.6.3 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.6.2 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.6.1 lib/dry/swagger/errors/missing_type_error.rb
dry-swagger-0.6.0 lib/dry/swagger/errors/missing_type_error.rb