Skip to content

updated open api specs for affiliate rewards#122

Merged
NidaKarimAli merged 4 commits intomainfrom
nida/updated-open-api-spec-rewards
Jun 11, 2025
Merged

updated open api specs for affiliate rewards#122
NidaKarimAli merged 4 commits intomainfrom
nida/updated-open-api-spec-rewards

Conversation

@NidaKarimAli
Copy link
Copy Markdown
Contributor

@NidaKarimAli NidaKarimAli commented Jun 11, 2025

@andrecastelo could you please generate all 3 SDKs from the latest open-api specs while I figure out version issues on my end.

@NidaKarimAli NidaKarimAli requested a review from a team June 11, 2025 14:53
@NidaKarimAli NidaKarimAli marked this pull request as draft June 11, 2025 14:55
@NidaKarimAli NidaKarimAli marked this pull request as ready for review June 11, 2025 14:56
Comment thread resources/rewards-data-api.yaml Outdated
Comment thread resources/rewards-data-api.yaml Outdated
Comment thread resources/rewards-data-api.yaml Outdated
Comment thread resources/rewards-data-api.yaml Outdated
Comment thread resources/rewards-data-api.yaml Outdated
@NidaKarimAli NidaKarimAli requested a review from kevin-ip June 11, 2025 15:21
Comment on lines +1009 to +1011
type: integer
description: Cashback amount to give to the referees
example: 10
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

will it ever be a decimal?

default: "totalEarnings"
- name: sortOrder
in: query
required: false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we define the default sortOrder?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We have it handled on the service side, if not given we'll keep it descending

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, it would be great to document here so that the caller is aware of the default value.

Copy link
Copy Markdown
Contributor

@kevin-ip kevin-ip left a comment

Choose a reason for hiding this comment

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

Friendly reminder to generate the client code and test with the examples in this repo before merging.

@NidaKarimAli NidaKarimAli merged commit b5f29be into main Jun 11, 2025
@NidaKarimAli NidaKarimAli deleted the nida/updated-open-api-spec-rewards branch June 11, 2025 15:50
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.

3 participants