Skip to content

Commit 9e65302

Browse files
millotpben-kalmus
authored andcommitted
rename wrapper
1 parent 983e482 commit 9e65302

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ externalInjectedItem:
4444
items:
4545
type: array
4646
items:
47-
title: externalInjectedItemsArray
47+
title: externalInjection
4848
type: object
4949
additionalProperties: false
5050
properties:
@@ -63,3 +63,5 @@ externalInjectedItem:
6363
- objectID
6464
example:
6565
{'objectID': 'my-object-1', 'metadata': {'my-field': 'my-value'}}
66+
required:
67+
- items

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
SearchSource:
2-
title: search
2+
title: searchSource
33
description: Injected items will originate from a search request performed on the specified index.
44
type: object
55
additionalProperties: false
66
properties:
77
search:
8-
title: searchSource
8+
title: search
99
type: object
1010
additionalProperties: false
1111
properties:
@@ -17,15 +17,17 @@ SearchSource:
1717
$ref: './Injection.yml#/injectedItemsQueryParameters'
1818
required:
1919
- index
20+
required:
21+
- search
2022

2123
ExternalSource:
22-
title: external
24+
title: externalSource
2325
description: Injected items will originate from externally provided objectIDs (that must exist in the index) given at runtime in the run request payload.
2426
type: object
2527
additionalProperties: false
2628
properties:
2729
external:
28-
title: externalSource
30+
title: external
2931
type: object
3032
additionalProperties: false
3133
properties:
@@ -39,6 +41,8 @@ ExternalSource:
3941
$ref: '#/externalOrdering'
4042
required:
4143
- index
44+
required:
45+
- external
4246

4347
externalOrdering:
4448
enum: ['default', 'userDefined']

0 commit comments

Comments
 (0)