diff --git a/SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py b/SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py index 30c7c7ab40b5c288949523104866ac2b41a2752a..18b2b7a90538b4ad92e247dd79bc03119f022c40 100644 --- a/SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py +++ b/SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py @@ -654,9 +654,9 @@ class SchedulingUnitDraftCopyFromSchedulingSetViewSet(LOFARCopyViewSet): else: return models.SchedulingUnitDraft.objects.all() - @swagger_auto_schema(responses={201: "The new TaskDraft(s) copied from the TaskDraft(s) in this SchedulingUnitSet", + @swagger_auto_schema(responses={201: "The SchedulingUnitSet which will also contain the created new draft(s)", 403: 'forbidden'}, - operation_description="Copy the TaskDraft(s) in this SchedulingUnitSet to new TaskDraft(s).") + operation_description="Copy the SchedulingUnitDraft(s) in this SchedulingUnitSet to new SchedulingUnitDraft(s)") def create(self, request, *args, **kwargs): if 'id' in kwargs: scheduling_set = get_object_or_404(models.SchedulingSet, pk=kwargs['id'])