def post(self, request, *args, **kwargs):
    """
            Create a MyModel
            ---
            parameters:
                - name: file
                  description: file
                  required: True
                  type: file
            responseMessages:
                - code: 201
                  message: Created
        """
return self.create(request, *args, **kwargs)
Django REST Framework + Django REST Swagger + ImageField