From 0337ef35c98512956e88dc386d5a5a06fb0c5d92 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Mon, 14 Sep 2026 12:38:21 -0700 Subject: [PATCH] Describe the request template functions (#655) --- plugins/template-function-request/src/index.ts | 4 ++++ plugins/template-function-response/src/index.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/template-function-request/src/index.ts b/plugins/template-function-request/src/index.ts index 89d6630e..51de1901 100755 --- a/plugins/template-function-request/src/index.ts +++ b/plugins/template-function-request/src/index.ts @@ -14,6 +14,7 @@ export const plugin: PluginDefinition = { templateFunctions: [ { name: "request.body.raw", + description: "Access the entire request body, as text", aliases: ["request.body"], args: [ { @@ -36,6 +37,7 @@ export const plugin: PluginDefinition = { }, { name: "request.body.path", + description: "Access a field of the request body using JSONPath or XPath", previewArgs: ["path"], args: [ { name: "requestId", label: "Http Request", type: "http_request" }, @@ -188,6 +190,7 @@ export const plugin: PluginDefinition = { }, { name: "request.param", + description: "Read the value of a query parameter, by name", args: [ { name: "requestId", @@ -230,6 +233,7 @@ export const plugin: PluginDefinition = { }, { name: "request.name", + description: "Get the name of a request, or its URL if it has no name", args: [ { name: "requestId", diff --git a/plugins/template-function-response/src/index.ts b/plugins/template-function-response/src/index.ts index 3edf954f..3397e27d 100644 --- a/plugins/template-function-response/src/index.ts +++ b/plugins/template-function-response/src/index.ts @@ -111,7 +111,7 @@ export const plugin: PluginDefinition = { }, { name: "response.body.path", - description: "Access a field of the response body using JsonPath or XPath", + description: "Access a field of the response body using JSONPath or XPath", aliases: ["response"], previewArgs: ["path"], args: [