From 14f7f560863943bd18c5af7385fdf183fe73119d Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 10:50:22 +0530 Subject: [PATCH] Swagger file:pipeline for TM Change-Id: I448d02d4f46b021c3ae4266650b099cc7d68a0e9 Signed-off-by: Swaraj Kumar --- API_docs/training-manager.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index d3254b0..5b32fbf 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -413,3 +413,27 @@ paths: Exception: type: "string" + /pipelines: + get: + tags: + - Pipeline + summary: "Get all pipeline names" + description: "Fetches all the names of pipelines available." + responses: + 200: + description: "Successful response with all pipeline names" + schema: + type: "object" + properties: + pipeline_names: + type: "array" + items: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string" + -- 2.16.6