Skip to content

Commit

Permalink
Updates user model to have correct number types
Browse files Browse the repository at this point in the history
These values were copied down as numbers instead of integers. This
creates issues with some languages which will treat them as floats.
  • Loading branch information
choubacha committed Feb 26, 2024
1 parent 08ad2fb commit 1b9be7f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions api.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
"version": "1.2.2",
"version": "1.2.3",
"title": "OneSignal",
"description": "A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com",
"contact": {
Expand Down Expand Up @@ -1757,10 +1757,10 @@
"type": "string"
},
"first_active": {
"type": "number"
"type": "integer"
},
"last_active": {
"type": "number"
"type": "integer"
},
"amount_spent": {
"type": "number"
Expand All @@ -1780,10 +1780,10 @@
"type": "object",
"properties": {
"session_time": {
"type": "number"
"type": "integer"
},
"session_count": {
"type": "number"
"type": "integer"
},
"purchases": {
"type": "array",
Expand Down Expand Up @@ -1824,13 +1824,13 @@
"type": "boolean"
},
"notification_types": {
"type": "number"
"type": "integer"
},
"session_time": {
"type": "number"
"type": "integer"
},
"session_count": {
"type": "number"
"type": "integer"
},
"sdk": {
"type": "string"
Expand All @@ -1845,7 +1845,7 @@
"type": "boolean"
},
"test_type": {
"type": "number"
"type": "integer"
},
"app_version": {
"type": "string"
Expand Down

0 comments on commit 1b9be7f

Please sign in to comment.