Skip to content

Commit 93dcd34

Browse files
fix: add even more property checks
Signed-off-by: Matthias Pichler <[email protected]>
1 parent cd7a0b9 commit 93dcd34

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

dsl-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ do:
555555
one:
556556
with:
557557
type: com.fake.petclinic.pets.checkup.completed.v2
558-
output:
559-
as: '.pets + [{ "id": $pet.id }]'
558+
output:
559+
as: '.pets + [{ "id": $pet.id }]'
560560
```
561561

562562
#### Fork

schema/workflow.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ $defs:
188188
$ref: '#/$defs/referenceableAuthenticationPolicy'
189189
description: The authentication policy, if any, to use when calling the AsyncAPI operation.
190190
required: [ document, operationRef ]
191-
additionalProperties: false
191+
unevaluatedProperties: false
192192
description: Defines the AsyncAPI call to perform.
193193
- title: CallGRPC
194194
$ref: '#/$defs/taskBase'
@@ -208,6 +208,7 @@ $defs:
208208
description: The proto resource that describes the GRPC service to call.
209209
service:
210210
type: object
211+
unevaluatedProperties: false
211212
properties:
212213
name:
213214
type: string
@@ -233,7 +234,7 @@ $defs:
233234
additionalProperties: true
234235
description: The arguments, if any, to call the method with.
235236
required: [ proto, service, method ]
236-
additionalProperties: false
237+
unevaluatedProperties: false
237238
description: Defines the GRPC call to perform.
238239
- title: CallHTTP
239240
$ref: '#/$defs/taskBase'
@@ -267,7 +268,7 @@ $defs:
267268
enum: [ raw, content, response ]
268269
description: The http call output format. Defaults to 'content'.
269270
required: [ method, endpoint ]
270-
additionalProperties: false
271+
unevaluatedProperties: false
271272
description: Defines the HTTP call to perform.
272273
- title: CallOpenAPI
273274
$ref: '#/$defs/taskBase'
@@ -300,7 +301,7 @@ $defs:
300301
enum: [ raw, content, response ]
301302
description: The http call output format. Defaults to 'content'.
302303
required: [ document, operationId ]
303-
additionalProperties: false
304+
unevaluatedProperties: false
304305
description: Defines the OpenAPI call to perform.
305306
- title: CallFunction
306307
$ref: '#/$defs/taskBase'

0 commit comments

Comments
 (0)