JSON: Transmit the ID as a string. See commit for the reason.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Manuel Friedli 2023-04-16 00:27:00 +02:00
parent 2dea68f386
commit 822a1b1528
3 changed files with 4 additions and 4 deletions

View file

@ -12,8 +12,8 @@
],
"properties": {
"id": {
"type": "integer",
"existingJavaType": "java.lang.Long"
"type": "string",
"description": "64 bit precision signed integer value. Transmitted as string, because ECMAScript (browsers) don't normally handle 64 bit integers well, as the ECMAScript 'number' type is a 64 bit signed double value, leaving only 53 bits for the integer part, thus losing precision."
},
"width": {
"type": "integer",