lib/apipie/validator.rb in apipie-rails-0.2.4 vs lib/apipie/validator.rb in apipie-rails-0.2.5

- old
+ new

@@ -173,9 +173,13 @@ def description "Must be an array of #{items}" end + def expected_type + "array" + end + def self.build(param_description, argument, options, block) if argument == Array && !block.is_a?(Proc) self.new(param_description, argument, options) end end