diff --git a/apps/booking/views.py b/apps/booking/views.py index 211fa957..89b9dd05 100644 --- a/apps/booking/views.py +++ b/apps/booking/views.py @@ -143,6 +143,10 @@ class UpdatePendingBooking(generics.UpdateAPIView): permission_classes = (permissions.AllowAny,) serializer_class = UpdateBookingSerializer + @swagger_auto_schema(operation_description="Request body params\n\n" + "Required: 'email', 'phone', 'last_name', " + "'first_name', 'country_code', 'pending_booking_id'," + "Not req: 'note'") def patch(self, request, *args, **kwargs): instance = self.get_object() data = request.data.copy()