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-9
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ $defs:
133
133
- properties:
134
134
call:
135
135
type: string
136
-
constant: asyncapi
136
+
const: asyncapi
137
137
with:
138
138
type: object
139
139
properties:
@@ -156,15 +156,17 @@ $defs:
156
156
type: object
157
157
description: The payload to call the AsyncAPI operation with, if any.
158
158
authentication:
159
-
ref: '#/$defs/authenticationPolicy'
160
159
description: The authentication policy, if any, to use when calling the AsyncAPI operation.
160
+
oneOf:
161
+
- $ref: '#/$defs/authenticationPolicy'
162
+
- type: string
161
163
required: [ document, operationRef ]
162
164
description: Defines the AsyncAPI call to perform.
163
165
required: [ call, with ]
164
166
- properties:
165
167
call:
166
168
type: string
167
-
constant: grpc
169
+
const: grpc
168
170
with:
169
171
type: object
170
172
properties:
@@ -187,8 +189,10 @@ $defs:
187
189
max: 65535
188
190
description: The port number of the GRPC service to call.
189
191
authentication:
190
-
$ref: '#/$defs/authenticationPolicy'
191
192
description: The endpoint's authentication policy, if any.
193
+
oneOf:
194
+
- $ref: '#/$defs/authenticationPolicy'
195
+
- type: string
192
196
required: [ name, host ]
193
197
method:
194
198
type: string
@@ -203,7 +207,7 @@ $defs:
203
207
- properties:
204
208
call:
205
209
type: string
206
-
constant: http
210
+
const: http
207
211
with:
208
212
type: object
209
213
properties:
@@ -228,7 +232,7 @@ $defs:
228
232
- properties:
229
233
call:
230
234
type: string
231
-
constant: openapi
235
+
const: openapi
232
236
with:
233
237
type: object
234
238
properties:
@@ -243,8 +247,10 @@ $defs:
243
247
additionalProperties: true
244
248
description: A name/value mapping of the parameters of the OpenAPI operation to call.
245
249
authentication:
246
-
$ref: '#/$defs/authenticationPolicy'
247
250
description: The authentication policy, if any, to use when calling the OpenAPI operation.
251
+
oneOf:
252
+
- $ref: '#/$defs/authenticationPolicy'
253
+
- type: string
248
254
output:
249
255
type: string
250
256
enum: [ raw, content, response ]
@@ -264,6 +270,7 @@ $defs:
264
270
description: A name/value mapping of the parameters, if any, to call the function with.
265
271
required: [ call ]
266
272
compositeTask:
273
+
type: object
267
274
properties:
268
275
execute:
269
276
type: object
@@ -291,6 +298,7 @@ $defs:
291
298
required: [ execute ]
292
299
description: Serves as a pivotal orchestrator within workflow systems, enabling the seamless integration and execution of multiple subtasks to accomplish complex operations
293
300
emitTask:
301
+
type: object
294
302
properties:
295
303
emit:
296
304
type: object
@@ -332,6 +340,7 @@ $defs:
332
340
default: continue
333
341
- type: string
334
342
forTask:
343
+
type: object
335
344
properties:
336
345
for:
337
346
type: object
@@ -668,8 +677,10 @@ $defs:
668
677
format: uri-template
669
678
description: The endpoint's URI.
670
679
authentication:
671
-
$ref: '#/$defs/authenticationPolicy'
672
680
description: The authentication policy to use.
681
+
oneOf:
682
+
- $ref: '#/$defs/authenticationPolicy'
683
+
- type: string
673
684
required: [ uri ]
674
685
eventConsumptionStrategy:
675
686
type: object
@@ -761,8 +772,10 @@ $defs:
761
772
format: uri
762
773
description: The endpoint's URI.
763
774
authentication:
764
-
$ref: '#/$defs/authenticationPolicy'
765
775
description: The authentication policy to use.
776
+
oneOf:
777
+
- $ref: '#/$defs/authenticationPolicy'
778
+
- type: string
766
779
name:
767
780
type: string
768
781
description: The external resource's name, if any.
0 commit comments