Closed
Description
Declaring a parameter as Rack::Multipart::UploadedFile doesn't seem to actually yield a parameter of the same type. Instead I'm getting instances of Hashie::Mash.
The endpoint i use to test this looks as follows:
params do
requires :avatar, type: Rack::Multipart::UploadedFile
end
post '/' do
...
end