Skip to content

Commit 79ae980

Browse files
authored
feat(specs): update affinity value type to accomodate booleans and numbers (#1388)
1 parent 5165836 commit 79ae980

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

specs/predict/responses/UserProfile.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ predictionsAffinitiesSuccess:
125125
name:
126126
type: string
127127
value:
128-
type: string
128+
$ref: '#/predictionAffinityValue'
129129
probability:
130130
type: number
131131
format: double
@@ -140,3 +140,10 @@ predictionsAffinitiesSuccess:
140140
required:
141141
- value
142142
- lastUpdatedAt
143+
144+
predictionAffinityValue:
145+
oneOf:
146+
- type: string
147+
- type: number
148+
format: double
149+
- type: boolean

0 commit comments

Comments
 (0)