From bc2cff1d0d68715702db0209c9fc1bc66112ce6f Mon Sep 17 00:00:00 2001 From: Yury Date: Thu, 31 Oct 2024 15:30:32 +0300 Subject: [PATCH] chore(api): updated trigger endpoints description --- api/public/swagger.yaml | 4 ++-- api/src/controllers/code.ts | 8 ++++---- api/src/controllers/stp.ts | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/api/public/swagger.yaml b/api/public/swagger.yaml index 4e8469e..f7929f0 100644 --- a/api/public/swagger.yaml +++ b/api/public/swagger.yaml @@ -113,7 +113,7 @@ components: properties: sessionId: type: string - description: "sessionId is the ID of the session and the name of the temporary folder\nused to store code outputs.
\nFor SAS, this would be the SASWORK folder.
\nsessionId can be used to poll session state using\nGET /SASjsApi/session/{sessionId}/state endpoint." + description: "`sessionId` is the ID of the session and the name of the temporary folder\nused to store code outputs.

\nFor SAS, this would be the location of the SASWORK folder.

\n`sessionId` can be used to poll session state using the\nGET /SASjsApi/session/{sessionId}/state endpoint." example: 20241028074744-54132-1730101664824 required: - sessionId @@ -605,7 +605,7 @@ components: properties: sessionId: type: string - description: "sessionId is the ID of the session and the name of the temporary folder\nused to store program outputs.
\nFor SAS, this would be the SASWORK folder.
\nsessionId can be used to poll session state using\nGET /SASjsApi/session/{sessionId}/state endpoint." + description: "`sessionId` is the ID of the session and the name of the temporary folder\nused to store program outputs.

\nFor SAS, this would be the location of the SASWORK folder.

\n`sessionId` can be used to poll session state using the\nGET /SASjsApi/session/{sessionId}/state endpoint." example: 20241028074744-54132-1730101664824 required: - sessionId diff --git a/api/src/controllers/code.ts b/api/src/controllers/code.ts index f57b184..f6aaa30 100644 --- a/api/src/controllers/code.ts +++ b/api/src/controllers/code.ts @@ -42,10 +42,10 @@ interface TriggerCodePayload { interface TriggerCodeResponse { /** - * sessionId is the ID of the session and the name of the temporary folder - * used to store code outputs.
- * For SAS, this would be the SASWORK folder.
- * sessionId can be used to poll session state using + * `sessionId` is the ID of the session and the name of the temporary folder + * used to store code outputs.

+ * For SAS, this would be the location of the SASWORK folder.

+ * `sessionId` can be used to poll session state using the * GET /SASjsApi/session/{sessionId}/state endpoint. * @example "20241028074744-54132-1730101664824" */ diff --git a/api/src/controllers/stp.ts b/api/src/controllers/stp.ts index 0bc432b..d1797ec 100644 --- a/api/src/controllers/stp.ts +++ b/api/src/controllers/stp.ts @@ -40,10 +40,10 @@ interface TriggerProgramPayload { interface TriggerProgramResponse { /** - * sessionId is the ID of the session and the name of the temporary folder - * used to store program outputs.
- * For SAS, this would be the SASWORK folder.
- * sessionId can be used to poll session state using + * `sessionId` is the ID of the session and the name of the temporary folder + * used to store program outputs.

+ * For SAS, this would be the location of the SASWORK folder.

+ * `sessionId` can be used to poll session state using the * GET /SASjsApi/session/{sessionId}/state endpoint. * @example "20241028074744-54132-1730101664824" */