Open MatejMijoski opened 2 years ago
Any fix?
@nomidaepapi no not yet, as far as I am aware.
I also got the same issue while using the drf-writable-nested package.
Still no fix? unfortunately had to remove both form parser and multipart parse from my function definition which means the swagger docs can't take files for those endpoints in the documentation
Bug Report
Description
I am getting a
drf_yasg.errors.SwaggerGenerationError: cannot instantiate nested serializer as Parameter
when using nested serializers with multi part form parser.Stack trace / Error message
I've tried to solve this by using a serializer inspector and with that, changing the nested serializer as a dictionary of fields but that doesn't seem to work. Is there a workaround for this?