From 022ffa876c124a924a2019ac55b2488a38ea7be6 Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Sat, 1 Feb 2025 08:50:08 -0800 Subject: [PATCH] fix erroneous pipeline trigger response to job desc. --- platform/paths/pipelines/tasks.yml | 2 +- platform/paths/pipelines/trigger.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/paths/pipelines/tasks.yml b/platform/paths/pipelines/tasks.yml index 49d7f22e..c47e5a33 100644 --- a/platform/paths/pipelines/tasks.yml +++ b/platform/paths/pipelines/tasks.yml @@ -26,7 +26,7 @@ post: - $ref: ../../../components/schemas/pipelines/taskActions/RerunPipelineAction.yml responses: 202: - description: Returns a Job Descriptor. + description: Returns a job descriptor. content: application/json: schema: diff --git a/platform/paths/pipelines/trigger.yml b/platform/paths/pipelines/trigger.yml index fff6a931..4c808e2b 100644 --- a/platform/paths/pipelines/trigger.yml +++ b/platform/paths/pipelines/trigger.yml @@ -44,8 +44,8 @@ post: - integer - "null" responses: - 201: - description: Returns a Pipeline. + 202: + description: Returns a job descriptor. content: application/json: schema: @@ -54,6 +54,6 @@ post: - data properties: data: - $ref: ../../../components/schemas/pipelines/Pipeline.yml + $ref: ../../../components/schemas/jobs/JobDescriptor.yml default: $ref: ../../../components/responses/errors/DefaultError.yml