swagger update

This commit is contained in:
jain
2023-08-22 11:28:52 +05:30
parent 214566ec8f
commit 930c10b578
5 changed files with 137 additions and 40 deletions

View File

@ -77,7 +77,11 @@ class NotificationViewSet(viewsets.GenericViewSet):
class ReadNotification(views.APIView):
"""Update notification API"""
"""Update notification API
Payload
{
"notification_id": []
}"""
serializer_class = ReadNotificationSerializer
model = Notification
permission_classes = [IsAuthenticated]