The data type of timestamp values is defined as "number". Specifying that those numbers are 64 bits integers is useful for API client generators who must decide between int32 or int64 types.
As an example, NSwag.CSharpClientGenerator is defining the createdAt property of the User object as int instead of long which leads to int overflow at runtime.
The data type of timestamp values is defined as "number". Specifying that those numbers are 64 bits integers is useful for API client generators who must decide between int32 or int64 types.
As an example, NSwag.CSharpClientGenerator is defining the createdAt property of the User object as
int
instead oflong
which leads to int overflow at runtime.