From e7458ceca1a82703cbb41c432c7d0006498187c6 Mon Sep 17 00:00:00 2001 From: Ben Lambert Date: Mon, 27 Feb 2023 11:55:54 +0100 Subject: [PATCH] Update docs/features/software-templates/writing-custom-actions.md Co-authored-by: Adam Harvey Signed-off-by: Ben Lambert --- docs/features/software-templates/writing-custom-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md index 65e2111f15..3e89e89582 100644 --- a/docs/features/software-templates/writing-custom-actions.md +++ b/docs/features/software-templates/writing-custom-actions.md @@ -63,7 +63,7 @@ The `createTemplateAction` takes an object which specifies the following: in some way so that they won't collide with future built-in actions that we may ship with the `scaffolder-backend` plugin. - `schema.input` - A `zod` or JSON schema object for input values to your function -- `schema.output` - A `zod` or JSON schema object for values which are outputted from the +- `schema.output` - A `zod` or JSON schema object for values which are output from the function using `ctx.output` - `handler` - the actual code which is run part of the action, with a context