wordnik/swagger-ui — pull request #257 by justinm (2013-07-12 02:51:11+00:00)
Title: Allow better file upload support when used with grape-swagger

When defining a file parameter definition in grape-swagger it is required to use :type => File. This causes the generated swagger documentation to return a capitalized File causing a generic text input to be rendered and not the expected file input. This change automatically lowercases the dataType when determining if the parameter is a file.