django-rest-swagger
django-rest-swagger copied to clipboard
Django filefield is showing as String in Swagger UI and unable to browse files since browse button not coming
Django model filefiled is showing as String in Swagger UI and unable to browse files to upload thru UI.
Please suggest me if any issues.
Django==1.10, 1.11 django-mongodb-engine (0.6.0) django-rest-framework-mongoengine (3.3.1) django-rest-swagger (2.1.1) djangorestframework (3.6.2) djangorestframework-xml (1.3.0) djangotoolbox (1.8.0)
Is this for a multipart form? Or just a file upload (i.e. not other data)?
Have the same problem - I'm using standard API documentation for that pages, so have "browse" button, but it will be useful if we can upload files from Swagger
Core api doesn't have a File type yet, it is marked as # LATER: File
see https://github.com/core-api/python-coreschema/blob/master/coreschema/schemas.py#L24
Seems still not fixed