Skip to content

Commit ad2401e

Browse files
committed
fix injectedItemSource
1 parent d1d482f commit ad2401e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

specs/composition-full/common/params/Composition.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ externalInjectedItem:
5858
description: |
5959
An objectID injected into an external source.
6060
example: {'objectID': 'my-object-1', 'metadata': {'my-field': 'my-value'}}
61-

specs/composition-full/common/schemas/components/CompositionBehavior.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ injectedItem:
8888
- length
8989

9090
injectedItemSource:
91+
type: object
92+
additionalProperties: false
93+
properties:
94+
search:
95+
$ref: './InjectionSource.yml#/search'
96+
external:
97+
$ref: './InjectionSource.yml#/external'
9198
oneOf:
92-
- $ref: './InjectionSource.yml#/search'
93-
- $ref: './InjectionSource.yml#/external'
99+
- required: [search]
100+
- required: [external]

0 commit comments

Comments
 (0)