From 510aa4d060fb2d78a15b64a55a1ff55264264f56 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Sun, 7 Jun 2020 17:31:26 +0200
Subject: [PATCH] TMSS-207: typos

---
 SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py b/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py
index 5f45892d4ae..8f3b92647d2 100644
--- a/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py
+++ b/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py
@@ -166,10 +166,10 @@ class SchedulingUnitDraftViewSet(LOFARViewSet):
     queryset = models.SchedulingUnitDraft.objects.all()
     serializer_class = serializers.SchedulingUnitDraftSerializer
 
-    @swagger_auto_schema(responses={201: 'Created schduling unit blueprint, see Location in Response header',
+    @swagger_auto_schema(responses={201: 'The Created SchedulingUnitBlueprint, see Location in Response header',
                                     403: 'forbidden'},
-                         operation_description="Carve this draft task specification in stone, and make an (uneditable) blueprint out of it.")
-    @action(methods=['get'], detail=True, url_name="create_task_blueprint")
+                         operation_description="Carve SchedulingUnitDraft in stone, and make an (uneditable) blueprint out of it.")
+    @action(methods=['get'], detail=True, url_name="create_task_blueprint", name="Create SchedulingUnitBlueprint")
     def create_scheduling_unit_blueprint(self, request, pk=None):
         scheduling_unit_draft = get_object_or_404(models.SchedulingUnitDraft, pk=pk)
         scheduling_unit_blueprint = create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft)
@@ -184,10 +184,10 @@ class SchedulingUnitDraftViewSet(LOFARViewSet):
                         status=status.HTTP_201_CREATED,
                         headers={'Location': scheduling_unit_blueprint_path})
 
-    @swagger_auto_schema(responses={201: 'Created schduling unit blueprint, see Location in Response header',
+    @swagger_auto_schema(responses={201: 'The Created schduling unit blueprint, see Location in Response header',
                                     403: 'forbidden'},
                          operation_description="Carve this scheduling unit draft, and its tasks in stone, and make blueprint(s) out of it, create subtasks, and schedule the ones that are not dependend on predecessors.")
-    @action(methods=['get'], detail=True, url_name="create_blueprints_and_schedule", name="Create Blueprints and Schedule")
+    @action(methods=['get'], detail=True, url_name="create_blueprints_and_schedule", name="Create Blueprints-Tree and Schedule")
     def create_blueprints_and_schedule(self, request, pk=None):
         scheduling_unit_draft = get_object_or_404(models.SchedulingUnitDraft, pk=pk)
         scheduling_unit_blueprint = create_task_blueprints_and_subtasks_and_schedule_subtasks_from_scheduling_unit_draft(scheduling_unit_draft)
-- 
GitLab