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: dsl-reference.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1015,10 +1015,10 @@ Defines the mechanism used to authenticate users and workflows attempting to acc
1015
1015
| Property | Type | Required | Description |
1016
1016
|----------|:----:|:--------:|-------------|
1017
1017
| basic | [`basicAuthentication`](#basic-authentication) | `no` | The `basic` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1018
-
| bearer | [`basicAuthentication`](#bearer-authentication) | `no` | The `bearer` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1018
+
| bearer | [`bearerAuthentication`](#bearer-authentication) | `no` | The `bearer` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1019
1019
| certificate | [`certificateAuthentication`](#certificate-authentication) | `no` | The `certificate` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1020
1020
| digest | [`digestAuthentication`](#digest-authentication) | `no` | The `digest` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1021
-
| bearer | [`oauth2`](#oauth2-authentication) | `no` | The `oauth2` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1021
+
| oauth2 | [`oauth2`](#oauth2-authentication) | `no` | The `oauth2` authentication scheme to use, if any.<br>Required if no other property has been set, otherwise ignored. |
1022
1022
1023
1023
##### Examples
1024
1024
@@ -1087,7 +1087,7 @@ Defines the fundamentals of a 'bearer' authentication
1087
1087
1088
1088
| Property | Type | Required | Description |
1089
1089
|----------|:----:|:--------:|-------------|
1090
-
| bearer | `string` | `yes` | The bearer token to use. |
1090
+
| token | `string` | `yes` | The bearer token to use. |
Copy file name to clipboardExpand all lines: schema/workflow.yaml
+23-10Lines changed: 23 additions & 10 deletions
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:
@@ -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
@@ -668,11 +677,13 @@ $defs:
668
677
properties:
669
678
uri:
670
679
type: string
671
-
format: uri
680
+
format: uri-template
672
681
description: The endpoint's URI.
673
682
authentication:
674
-
$ref: '#/$defs/authenticationPolicy'
675
683
description: The authentication policy to use.
684
+
oneOf:
685
+
- $ref: '#/$defs/authenticationPolicy'
686
+
- type: string
676
687
required: [ uri ]
677
688
eventConsumptionStrategy:
678
689
type: object
@@ -764,8 +775,10 @@ $defs:
764
775
format: uri
765
776
description: The endpoint's URI.
766
777
authentication:
767
-
$ref: '#/$defs/authenticationPolicy'
768
778
description: The authentication policy to use.
779
+
oneOf:
780
+
- $ref: '#/$defs/authenticationPolicy'
781
+
- type: string
769
782
name:
770
783
type: string
771
784
description: The external resource's name, if any.
0 commit comments