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: schema/workflow.yaml
+22-9Lines changed: 22 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ $defs:
136
136
- properties:
137
137
call:
138
138
type: string
139
-
constant: asyncapi
139
+
const: asyncapi
140
140
with:
141
141
type: object
142
142
properties:
@@ -159,15 +159,17 @@ $defs:
159
159
type: object
160
160
description: The payload to call the AsyncAPI operation with, if any.
161
161
authentication:
162
-
ref: '#/$defs/authenticationPolicy'
163
162
description: The authentication policy, if any, to use when calling the AsyncAPI operation.
163
+
oneOf:
164
+
- $ref: '#/$defs/authenticationPolicy'
165
+
- type: string
164
166
required: [ document, operationRef ]
165
167
description: Defines the AsyncAPI call to perform.
166
168
required: [ call, with ]
167
169
- properties:
168
170
call:
169
171
type: string
170
-
constant: grpc
172
+
const: grpc
171
173
with:
172
174
type: object
173
175
properties:
@@ -190,8 +192,10 @@ $defs:
190
192
max: 65535
191
193
description: The port number of the GRPC service to call.
192
194
authentication:
193
-
$ref: '#/$defs/authenticationPolicy'
194
195
description: The endpoint's authentication policy, if any.
196
+
oneOf:
197
+
- $ref: '#/$defs/authenticationPolicy'
198
+
- type: string
195
199
required: [ name, host ]
196
200
method:
197
201
type: string
@@ -206,7 +210,7 @@ $defs:
206
210
- properties:
207
211
call:
208
212
type: string
209
-
constant: http
213
+
const: http
210
214
with:
211
215
type: object
212
216
properties:
@@ -231,7 +235,7 @@ $defs:
231
235
- properties:
232
236
call:
233
237
type: string
234
-
constant: openapi
238
+
const: openapi
235
239
with:
236
240
type: object
237
241
properties:
@@ -246,8 +250,10 @@ $defs:
246
250
additionalProperties: true
247
251
description: A name/value mapping of the parameters of the OpenAPI operation to call.
248
252
authentication:
249
-
$ref: '#/$defs/authenticationPolicy'
250
253
description: The authentication policy, if any, to use when calling the OpenAPI operation.
254
+
oneOf:
255
+
- $ref: '#/$defs/authenticationPolicy'
256
+
- type: string
251
257
output:
252
258
type: string
253
259
enum: [ raw, content, response ]
@@ -267,6 +273,7 @@ $defs:
267
273
description: A name/value mapping of the parameters, if any, to call the function with.
268
274
required: [ call ]
269
275
compositeTask:
276
+
type: object
270
277
properties:
271
278
execute:
272
279
type: object
@@ -294,6 +301,7 @@ $defs:
294
301
required: [ execute ]
295
302
description: Serves as a pivotal orchestrator within workflow systems, enabling the seamless integration and execution of multiple subtasks to accomplish complex operations
296
303
emitTask:
304
+
type: object
297
305
properties:
298
306
emit:
299
307
type: object
@@ -335,6 +343,7 @@ $defs:
335
343
default: continue
336
344
- type: string
337
345
forTask:
346
+
type: object
338
347
properties:
339
348
for:
340
349
type: object
@@ -674,8 +683,10 @@ $defs:
674
683
format: uri-template
675
684
description: The endpoint's URI.
676
685
authentication:
677
-
$ref: '#/$defs/authenticationPolicy'
678
686
description: The authentication policy to use.
687
+
oneOf:
688
+
- $ref: '#/$defs/authenticationPolicy'
689
+
- type: string
679
690
required: [ uri ]
680
691
eventConsumptionStrategy:
681
692
type: object
@@ -770,8 +781,10 @@ $defs:
770
781
format: uri
771
782
description: The endpoint's URI.
772
783
authentication:
773
-
$ref: '#/$defs/authenticationPolicy'
774
784
description: The authentication policy to use.
785
+
oneOf:
786
+
- $ref: '#/$defs/authenticationPolicy'
787
+
- type: string
775
788
name:
776
789
type: string
777
790
description: The external resource's name, if any.
0 commit comments