Skip to content

Commit bdf6218

Browse files
fix(javascript): update Predict models error spec
1 parent 80724c1 commit bdf6218

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

specs/predict/common/parameters.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ userProfile:
3939
- probability
4040
lastUpdatedAt:
4141
type: string
42-
required:
43-
- value
44-
- lastUpdatedAt
42+
error:
43+
type: string
4544
order_value:
4645
type: object
4746
description: Prediction for the **order_value** model.
@@ -52,9 +51,8 @@ userProfile:
5251
minimum: 0
5352
lastUpdatedAt:
5453
type: string
55-
required:
56-
- value
57-
- lastUpdatedAt
54+
error:
55+
type: string
5856
affinities:
5957
type: object
6058
description: Prediction for the **affinities** model.
@@ -80,9 +78,8 @@ userProfile:
8078
- probability
8179
lastUpdatedAt:
8280
type: string
83-
required:
84-
- value
85-
- lastUpdatedAt
81+
error:
82+
type: string
8683
properties:
8784
type: object
8885
title: properties

0 commit comments

Comments
 (0)