Question

[BUG] openapi v1

  • 22 March 2024
  • 0 replies
  • 8 views

Badge

ref: www.revenuecat.com/docs/redocusaurus/plugin-redoc-3.yaml

all unix timestamps are specified as type: integer - its pretty obvious that e.g. 1708417962662 does not fit into int32 and need format: int64 specified 

example

expiry_time_ms:
type: integer
description: >-
The desired next expiry time to assign to the subscription,
in milliseconds since the Epoch. The given time must be
later/greater than the current expiry time for the
subscription.
example: 1708417962662

example error

json: cannot unmarshal number 1711127957264 into Go struct field Subscriber.request_date_ms of type int32

 

can you please provide a fix for this asap 


This post has been closed for comments