Skip to content

Commit 6500b09

Browse files
committed
Allow aliases property in product service test json schemas to be null or array
1 parent f7af71a commit 6500b09

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/products/test/integ/json_schemas.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"category": {"type": "string"},
1313
"style": {"type": "string"},
1414
"description": {"type": "string"},
15-
"aliases": {"type": "null"},
15+
"aliases": {"type": ["array", "null"]},
1616
"price": {"type": "number"},
1717
"image": {"type": "string"},
1818
"current_stock": {"type": "number"}
@@ -30,7 +30,7 @@
3030
"category": {"type": "string"},
3131
"style": {"type": "string"},
3232
"description": {"type": "string"},
33-
"aliases": {"type": "null"},
33+
"aliases": {"type": ["array", "null"]},
3434
"price": {"type": "number"},
3535
"image": {"type": "string"},
3636
"featured": {"type": "string"},
@@ -50,7 +50,7 @@
5050
"category": {"type": "string"},
5151
"style": {"type": "string"},
5252
"description": {"type": "string"},
53-
"aliases": {"type": "null"},
53+
"aliases": {"type": ["array", "null"]},
5454
"price": {"type": "number"},
5555
"image": {"type": "string"},
5656
"featured": {"type": "string"},
@@ -72,7 +72,7 @@
7272
"category": {"type": "string"},
7373
"style": {"type": "string"},
7474
"description": {"type": "string"},
75-
"aliases": {"type": "null"},
75+
"aliases": {"type": ["array", "null"]},
7676
"price": {"type": "number"},
7777
"image": {"type": "string"},
7878
"current_stock": {"type": "number"}
@@ -115,7 +115,7 @@
115115
"category": {"type": "string"},
116116
"style": {"type": "string"},
117117
"description": {"type": "string"},
118-
"aliases": {"type": "null"},
118+
"aliases": {"type": ["array", "null"]},
119119
"price": {"type": "number"},
120120
"image": {"type": "string"},
121121
"featured": {"type": "string"},

0 commit comments

Comments
 (0)