Files
medusa-store/www/utils/generated/oas-output/schemas/WorkflowExecutionContext.ts
Shahed Nasser 74b3385a65 chore(oas): [21/21] improve oas schemas (#9339)
* improve oas

* more improvements

* add missing descriptions

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-09-27 12:40:24 +02:00

65 lines
1.7 KiB
TypeScript

/**
* @schema WorkflowExecutionContext
* type: object
* description: The workflow execution's context.
* x-schemaName: WorkflowExecutionContext
* required:
* - compensate
* - errors
* properties:
* data:
* type: object
* description: The context's data.
* properties:
* invoke:
* type: object
* description: The step's invokation details.
* required:
* - output
* additionalProperties:
* type: object
* properties:
* output:
* type: object
* description: The invokation's details.
* required:
* - output
* - compensateInput
* properties:
* output:
* description: the step's output
* compensateInput:
* description: the compensation function's input.
* payload:
* description: the payload of the transaction.
* required:
* - invoke
* compensate:
* type: object
* description: The context's compensate.
* errors:
* type: array
* description: The context's errors.
* items:
* type: object
* description: The error's details.
* properties:
* error:
* type: object
* description: The error's details.
* action:
* type: string
* title: action
* description: The error's action.
* handlerType:
* type: string
* title: handlerType
* description: The error's handler type.
* required:
* - error
* - action
* - handlerType
*
*/