Skip to content

Commit 3af88d7

Browse files
committed
feat: add example JSON body to custom action parameter
1 parent a229194 commit 3af88d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codegen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ func AddCustomAction(swagger *openapi3.Swagger, api WorkflowApp) (WorkflowAppAct
14611461
Description: "The body to use",
14621462
Multiline: true,
14631463
Required: false,
1464-
Example: ``,
1464+
Example: `{"username": "example_user", "email": "user@example.com"}`,
14651465
Schema: SchemaDefinition{
14661466
Type: "string",
14671467
},

0 commit comments

Comments
 (0)