Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds ip address to client, latest open api spec #56

Merged
merged 5 commits into from
Sep 4, 2024
Merged

Conversation

phillipgr4vy
Copy link
Contributor

This PR adds ip address to be set for new transactions via the X-Forwarded-For header and includes the latest open api spec models.

pom.xml Outdated
@@ -5,7 +5,7 @@
<artifactId>gr4vy</artifactId>
<packaging>jar</packaging>
<name>gr4vy</name>
<version>0.29.2</version>
<version>0.3</version>
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be 0.30.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated


GOPAY("gopay"),

GRABPAY("grabpay"),

IDEAL("ideal"),

ID("id"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

@phillipgr4vy did you manually add this? when I ran the generator earlier this was missing (so the openapi spec needs updating)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@steve-gr4vy the ID shouldnt of been added I've removed it. The googlepay_pan_only I manually added as this came up in the testing in spider. I can add this to openapi spec

Copy link
Collaborator

Choose a reason for hiding this comment

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

@phillipgr4vy The model files shouldn't be edited manually, they should be fully managed through the generation script - otherwise manual edits will be required each time the SDK models are updated. Can we update the openapi spec and re-run the generation script?

@phillipgr4vy phillipgr4vy merged commit 25f775e into main Sep 4, 2024
1 check passed
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