Skip to content

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

Merged
jas14 merged 1 commit intosplitwise:mainfrom
edblankenship:main
Jan 28, 2023
Merged

Decorating Expense 'id' with 'int64' in the OpenAPI spec#69
jas14 merged 1 commit intosplitwise:mainfrom
edblankenship:main

Conversation

@edblankenship
Copy link
Copy Markdown
Contributor

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 🙏

Copy link
Copy Markdown
Collaborator

@jas14 jas14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, thank you! 🚀

@jas14 jas14 merged commit 12684a9 into splitwise:main Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants