I don't know I just copied the one used for `Hash` without thinking about it :( 
https://github.com/Pajk/apipie-rails/blob/master/lib/apipie/validator.rb#L204