When an integer entity identifier is defined via swagger documentation, please cast the integer as integer “string” value.
This will allow Outsystems to provide future support for long/int64 data type aswell.
Both Facebook Id's and Twitter Id's have casted int64 as a string value.
Facebook cast all Id integer as integer string value and solves the problem in one go. Where as twitter they fix this issue with a work around solution and have an extra attribute to output int as string. Int_str i.e Twitter recommends you use int_str see https://dev.twitter.com/overview/api/twitter-ids-json-and-snowflake
Please avoid making this mistake, then have to make a breaking change on a public web services to fix this issue later on! Update the swagger json defination file and cast integer as a string integer value.