Skip to content

Commit

Permalink
Adding more titles to schema
Browse files Browse the repository at this point in the history
This will make easier life for schema generators

Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
  • Loading branch information
fjtirado committed Oct 28, 2024
1 parent 7728ba5 commit abedb30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ properties:
title: Do
description: Defines the task(s) the workflow must perform.
timeout:
title: DoTimeout
oneOf:
- $ref: '#/$defs/timeout'
title: TimeoutDefinition
Expand Down Expand Up @@ -185,6 +186,7 @@ $defs:
title: TaskBaseExport
description: Export task output to context.
timeout:
title: TaskTimeout
oneOf:
- $ref: '#/$defs/timeout'
title: TaskTimeoutDefinition
Expand Down Expand Up @@ -551,6 +553,7 @@ $defs:
unevaluatedProperties: false
properties:
error:
title: RaiseTaskError
oneOf:
- $ref: '#/$defs/error'
title: RaiseErrorDefinition
Expand Down Expand Up @@ -815,7 +818,8 @@ $defs:
title: FlowDirective
description: Represents different transition options for a workflow.
anyOf:
- type: string
- title: FlowDirectiveEnum
type: string
enum: [ continue, exit, end ]
default: continue
- type: string
Expand Down

0 comments on commit abedb30

Please sign in to comment.