@@ -149,14 +149,14 @@ use:
149
149
call : http
150
150
with :
151
151
method : post
152
- uri : https://fake.log.collector.com
152
+ endpoint : https://fake.log.collector.com
153
153
body :
154
154
message : " ${ \" Executing task '\( $task.reference)'...\" }"
155
155
after :
156
156
call : http
157
157
with :
158
158
method : post
159
- uri : https://fake.log.collector.com
159
+ endpoint : https://fake.log.collector.com
160
160
body :
161
161
message : " ${ \" Executed task '\( $task.reference)'...\" }"
162
162
functions :
259
259
call : http
260
260
with :
261
261
method : get
262
- uri : https://petstore.swagger.io/v2/pet/{petId}
262
+ endpoint : https://petstore.swagger.io/v2/pet/{petId}
263
263
` ` `
264
264
265
265
Serverless Workflow defines several default functions that **MUST** be supported by all implementations and runtimes:
371
371
call: http
372
372
with:
373
373
method: get
374
- uri : https://petstore.swagger.io/v2/pet/{petId}
374
+ endpoint : https://petstore.swagger.io/v2/pet/{petId}
375
375
` ` `
376
376
377
377
# #### OpenAPI Call
@@ -481,15 +481,15 @@ do:
481
481
call: http
482
482
with:
483
483
method: put
484
- uri : https://fake-hospital.com/api/v3/alert/nurses
484
+ endpoint : https://fake-hospital.com/api/v3/alert/nurses
485
485
body:
486
486
patientId: ${ .patient.fullName }
487
487
room: ${ .room.number }
488
488
callDoctor:
489
489
call: http
490
490
with:
491
491
method: put
492
- uri : https://fake-hospital.com/api/v3/alert/doctor
492
+ endpoint : https://fake-hospital.com/api/v3/alert/doctor
493
493
body:
494
494
patientId: ${ .patient.fullName }
495
495
room: ${ .room.number }
917
917
call: http
918
918
with:
919
919
method: get
920
- uri : https://
920
+ endpoint : https://
921
921
catch:
922
922
errors:
923
923
with:
@@ -1203,22 +1203,22 @@ use:
1203
1203
call: http
1204
1204
with:
1205
1205
method: post
1206
- uri : https://fake.log.collector.com
1206
+ endpoint : https://fake.log.collector.com
1207
1207
body:
1208
1208
message: "${ \" Executing task '\( $task.reference)'...\" }"
1209
1209
after:
1210
1210
call: http
1211
1211
with:
1212
1212
method: post
1213
- uri : https://fake.log.collector.com
1213
+ endpoint : https://fake.log.collector.com
1214
1214
body:
1215
1215
message: "${ \" Executed task '\( $task.reference)'...\" }"
1216
1216
do:
1217
1217
get:
1218
1218
call: http
1219
1219
with:
1220
1220
method: get
1221
- uri : https://fake.com/sample
1221
+ endpoint : https://fake.com/sample
1222
1222
` ` `
1223
1223
1224
1224
*Intercept HTTP calls to 'https://mocked.service.com' and mock its response:*
@@ -1247,7 +1247,7 @@ do:
1247
1247
call: http
1248
1248
with:
1249
1249
method: get
1250
- uri : https://fake.com/sample
1250
+ endpoint : https://fake.com/sample
1251
1251
` ` `
1252
1252
1253
1253
# ## Error
0 commit comments