Added description to update booking method
(cherry picked from commit a947eb1)
This commit is contained in:
parent
4b563989a1
commit
62bee3156c
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user