Skip to content

Commit 4250dfb

Browse files
committed
fix(specs): correct type for banners
1 parent 33565ee commit 4250dfb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

specs/common/schemas/IndexSettings.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,9 +1036,8 @@ banners:
10361036
description: banners defined in the merchandising studio for the given search.
10371037
type: array
10381038
additionalProperties: false
1039-
properties:
1040-
banners:
1041-
$ref: '#/banner'
1039+
items:
1040+
$ref: '#/banner'
10421041

10431042
banner:
10441043
description: a search banner with image and url.
@@ -1064,13 +1063,15 @@ bannerImage:
10641063
additionalProperties: false
10651064
properties:
10661065
urls:
1067-
$ref: '#/bannerImageUrl'
1066+
type: array
1067+
items:
1068+
$ref: '#/bannerImageUrl'
10681069
title:
10691070
type: string
10701071

10711072
bannerImageUrl:
10721073
description: url for a search banner image.
1073-
type: array
1074+
type: object
10741075
additionalProperties: false
10751076
properties:
10761077
url:

0 commit comments

Comments
 (0)