django-rest-swagger icon indicating copy to clipboard operation
django-rest-swagger copied to clipboard

Can't get a file picker to display for file upload

Open estianross opened this issue 6 years ago • 1 comments

Exactly what the title says. DRF and DRS both at latest version. Can't get any sort of file upload picker to display. Using FileField in serializer and have tried FileUploadParser, FormParser, MultiPartParser and it asks for a string in each case. This is not expected behaviour for a serializer FileField is it? Documentation feels subpar for solving this, and is very clearly out of date based on the provided images.

estianross avatar Jun 22 '18 09:06 estianross

I have the same problem.I see the Schema source code.There is no file type now.

# LATER: Enum display values
# LATER: File   ←Here is say
# LATER: strict, coerce float etc...
# LATER: decimals
# LATER: override errors


class Schema(object):

tushantong avatar Jul 09 '18 09:07 tushantong