splitwise / api-docs

API documentation for the Splitwise API.
http://dev.splitwise.com
28 stars 16 forks source link

Decorating Expense 'id' with 'int64' in the OpenAPI spec #69

Closed EdBlankenship closed 1 year ago

EdBlankenship commented 1 year ago

Hi 👋

Wanted to offer a contribution to the OpenAPI spec after noticing a recent expense being returned with an id value greater than what an int32 can hold. Added a format decoration to indicate to OpenAPI code generators that they should store this field as an int64 or long depending on the language.

📑 OpenAPI data model specification for Numbers

image

Thanks and let me know if you have any feedback on the contribution 🙏