Open creyD opened 3 years ago
I created a ModelSerializer in DRF and I am handling it with rest_framework.UpdateModelMixin.
When accessing the Swagger UI, I see the same structure for PUT as for PATCH, even though for PATCH fields shouldn't be required.
If I actually use the API, it functions correctly, so the display here is wrong.
@axnsan12 Could you please take a look at this?
I can confirm this behavior.
I created a ModelSerializer in DRF and I am handling it with rest_framework.UpdateModelMixin.
When accessing the Swagger UI, I see the same structure for PUT as for PATCH, even though for PATCH fields shouldn't be required.
If I actually use the API, it functions correctly, so the display here is wrong.