1 /**
2 * @schema WorkflowExecutionContext
3 * type: object
4 * description: The workflow execution's context.
5 * x-schemaName: WorkflowExecutionContext
6 * required:
7 * - compensate
8 * - errors
9 * properties:
10 * data:
11 * type: object
12 * description: The context's data.
13 * properties:
14 * invoke:
15 * type: object
16 * description: The step's invokation details.
17 * required:
18 * - output
19 * additionalProperties:
20 * type: object
21 * properties:
22 * output:
23 * type: object
24 * description: The invokation's details.
25 * required:
26 * - output
27 * - compensateInput
28 * properties:
29 * output:
30 * description: the step's output
31 * compensateInput:
32 * description: the compensation function's input.
33 * payload:
34 * description: the payload of the transaction.
35 * required:
36 * - invoke
37 * compensate:
38 * type: object
39 * description: The context's compensate.
40 * errors:
41 * type: array
42 * description: The context's errors.
43 * items:
44 * type: object
45 * description: The error's details.
46 * properties:
47 * error:
48 * type: object
49 * description: The error's details.
50 * action:
51 * type: string
52 * title: action
53 * description: The error's action.
54 * handlerType:
55 * type: string
56 * title: handlerType
57 * description: The error's handler type.
58 * required:
59 * - error
60 * - action
61 * - handlerType
62 *
63 */
64