Support for file type in swagger

It is fairly common for POST endpoints to be able to receive a file as the body parameter. Since JSON schema does not support the `'file'` type, it is not possible to specify it when defining the schema.

This PR implements a hack that allows people to specify the `'file'` type through the description field.

I don't think it is nice, but I can't think of any other way to support this.