Skip to content

Commit

Permalink
feat(specs): update affinity value type to accomodate booleans and nu…
Browse files Browse the repository at this point in the history
…mbers (#1388)
  • Loading branch information
writeens authored Mar 13, 2023
1 parent 5165836 commit 79ae980
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion specs/predict/responses/UserProfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ predictionsAffinitiesSuccess:
name:
type: string
value:
type: string
$ref: '#/predictionAffinityValue'
probability:
type: number
format: double
Expand All @@ -140,3 +140,10 @@ predictionsAffinitiesSuccess:
required:
- value
- lastUpdatedAt

predictionAffinityValue:
oneOf:
- type: string
- type: number
format: double
- type: boolean

0 comments on commit 79ae980

Please sign in to comment.