You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/resources/schema/workflow.yaml
+49-18
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ properties:
54
54
type: array
55
55
items:
56
56
type: object
57
+
title: ExtensionItem
57
58
minProperties: 1
58
59
maxProperties: 1
59
60
additionalProperties:
@@ -105,6 +106,7 @@ $defs:
105
106
type: array
106
107
items:
107
108
type: object
109
+
title: TaskItem
108
110
minProperties: 1
109
111
maxProperties: 1
110
112
additionalProperties:
@@ -157,6 +159,7 @@ $defs:
157
159
type: string
158
160
const: asyncapi
159
161
with:
162
+
title: WithAsyncAPI
160
163
type: object
161
164
properties:
162
165
document:
@@ -195,6 +198,7 @@ $defs:
195
198
type: string
196
199
const: grpc
197
200
with:
201
+
title: WithGRPC
198
202
type: object
199
203
properties:
200
204
proto:
@@ -241,6 +245,7 @@ $defs:
241
245
type: string
242
246
const: http
243
247
with:
248
+
title: WithHTTP
244
249
type: object
245
250
properties:
246
251
method:
@@ -274,6 +279,7 @@ $defs:
274
279
type: string
275
280
const: openapi
276
281
with:
282
+
title: WithOpenAPI
277
283
type: object
278
284
properties:
279
285
document:
@@ -441,7 +447,8 @@ $defs:
441
447
run:
442
448
type: object
443
449
oneOf:
444
-
- properties:
450
+
- title: RunContainer
451
+
properties:
445
452
container:
446
453
type: object
447
454
properties:
@@ -458,55 +465,64 @@ $defs:
458
465
type: object
459
466
description: The container's volume mappings, if any.
460
467
environment:
468
+
title: ContainerEnvironment
461
469
type: object
462
470
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
463
471
required: [ image ]
464
472
required: [ container ]
465
473
description: Enables the execution of external processes encapsulated within a containerized environment.
466
-
- properties:
474
+
- title: RunScript
475
+
properties:
467
476
script:
468
477
type: object
469
478
properties:
470
479
language:
471
480
type: string
472
481
description: The language of the script to run.
473
482
environment:
483
+
title: ScriptEnvironment
474
484
type: object
475
485
additionalProperties: true
476
486
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
477
487
oneOf:
478
-
- properties:
488
+
- title: ScriptInline
489
+
properties:
479
490
code:
480
491
type: string
481
492
required: [ code ]
482
493
description: The script's code.
483
-
- properties:
494
+
- title: ScriptExternal
495
+
properties:
484
496
source:
485
497
$ref: '#/$defs/externalResource'
486
498
description: The script's resource.
487
499
required: [ source ]
488
500
required: [ language ]
489
501
required: [ script ]
490
502
description: Enables the execution of custom scripts or code within a workflow, empowering workflows to perform specialized logic, data processing, or integration tasks by executing user-defined scripts written in various programming languages.
491
-
- properties:
503
+
- title: RunShell
504
+
properties:
492
505
shell:
493
506
type: object
494
507
properties:
495
508
command:
496
509
type: string
497
510
description: The shell command to run.
498
511
arguments:
512
+
title: ShellArguments
499
513
type: object
500
514
additionalProperties: true
501
515
description: A list of the arguments of the shell command to run.
502
516
environment:
517
+
title: ShellEnvironment
503
518
type: object
504
519
additionalProperties: true
505
520
description: A key/value mapping of the environment variables, if any, to use when running the configured process.
506
521
required: [ command ]
507
522
required: [ shell ]
508
523
description: Enables the execution of shell commands within a workflow, enabling workflows to interact with the underlying operating system and perform system-level operations, such as file manipulation, environment configuration, or system administration tasks.
509
-
- properties:
524
+
- title: RunWokflow
525
+
properties:
510
526
workflow:
511
527
type: object
512
528
properties:
@@ -521,6 +537,7 @@ $defs:
521
537
default: latest
522
538
description: The version of the workflow to run. Defaults to latest
523
539
input:
540
+
title: WorkflowInput
524
541
type: object
525
542
additionalProperties: true
526
543
description: The data, if any, to pass as input to the workflow to execute. The value should be validated against the target workflow's input schema, if specified.
@@ -579,6 +596,7 @@ $defs:
579
596
type: object
580
597
properties:
581
598
errors:
599
+
title: CatchErrors
582
600
type: object
583
601
as:
584
602
type: string
@@ -615,7 +633,8 @@ $defs:
615
633
authenticationPolicy:
616
634
type: object
617
635
oneOf:
618
-
- properties:
636
+
- title: BasicAuthenticationPolicy
637
+
properties:
619
638
basic:
620
639
type: object
621
640
properties:
@@ -628,7 +647,8 @@ $defs:
628
647
required: [ username, password ]
629
648
required: [ basic ]
630
649
description: Use basic authentication.
631
-
- properties:
650
+
- title: BearerAuthenticationPolicy
651
+
properties:
632
652
bearer:
633
653
type: object
634
654
properties:
@@ -638,7 +658,8 @@ $defs:
638
658
required: [ token ]
639
659
required: [ bearer ]
640
660
description: Use bearer authentication.
641
-
- properties:
661
+
- title: OAuth2AuthenticationPolicy
662
+
properties:
642
663
oauth2:
643
664
type: object
644
665
properties:
@@ -752,21 +773,24 @@ $defs:
752
773
eventConsumptionStrategy:
753
774
type: object
754
775
oneOf:
755
-
- properties:
776
+
- title: AllEventConsumptionStrategy
777
+
properties:
756
778
all:
757
779
type: array
758
780
items:
759
781
$ref: '#/$defs/eventFilter'
760
782
description: A list containing all the events that must be consumed.
761
783
required: [ all ]
762
-
- properties:
784
+
- title: AnyEventConsumptionStrategy
785
+
properties:
763
786
any:
764
787
type: array
765
788
items:
766
789
$ref: '#/$defs/eventFilter'
767
790
description: A list containing any of the events to consume.
768
791
required: [ any ]
769
-
- properties:
792
+
- title: OneEventConsumptionStrategy
793
+
properties:
770
794
one:
771
795
$ref: '#/$defs/eventFilter'
772
796
description: The single event to consume.
@@ -775,6 +799,7 @@ $defs:
775
799
type: object
776
800
properties:
777
801
with:
802
+
title: WithEvent
778
803
type: object
779
804
minProperties: 1
780
805
properties:
@@ -835,7 +860,8 @@ $defs:
835
860
oneOf:
836
861
- type: string
837
862
format: uri
838
-
- type: object
863
+
- title: ExternalResourceURI
864
+
type: object
839
865
properties:
840
866
uri:
841
867
type: string
@@ -895,17 +921,20 @@ $defs:
895
921
backoff:
896
922
type: object
897
923
oneOf:
898
-
- properties:
924
+
- title: ConstantBackoff
925
+
properties:
899
926
constant:
900
927
type: object
901
928
description: The definition of the constant backoff to use, if any.
902
929
required: [ constant ]
903
-
- properties:
930
+
- title: ExponentialBackOff
931
+
properties:
904
932
exponential:
905
933
type: object
906
934
description: The definition of the exponential backoff to use, if any.
907
935
required: [ exponential ]
908
-
- properties:
936
+
- title: LinearBackoff
937
+
properties:
909
938
linear:
910
939
type: object
911
940
description: The definition of the linear backoff to use, if any.
@@ -947,11 +976,13 @@ $defs:
947
976
default: json
948
977
description: The schema's format. Defaults to 'json'. The (optional) version of the format can be set using `{format}:{version}`.
0 commit comments