Skip to content

Code generation: update services and models - #1574

Merged
gcatanese merged 4 commits into
mainfrom
sdk-automation/models
Oct 9, 2025
Merged

Code generation: update services and models#1574
gcatanese merged 4 commits into
mainfrom
sdk-automation/models

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Oct 9, 2025

Copy link
Copy Markdown
Collaborator

Management API

Add CardRegionEnum enums in SplitConfigurationRule class

OpenAPI spec files or templates have been modified on 09-10-2025 by commit.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @AdyenAutomationBot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the SDK's generated models based on recent modifications to the OpenAPI specifications. The changes primarily introduce new Strong Customer Authentication (SCA) features and expand support for various local bank account identification types within the balance platform API. Additionally, numerous model files have received general code hygiene improvements, including formatting, import organization, and Javadoc refinements.

Highlights

  • Updated API Models: The core models for acswebhooks and balanceplatform have been updated to reflect the latest OpenAPI specifications.
  • New SCA Features: New models related to Strong Customer Authentication (SCA) associations, such as ApproveAssociationRequest, ApproveAssociationResponse, Association, AssociationListing, and AssociationStatus, have been introduced in the balanceplatform API.
  • Expanded Bank Account Identification: The BankAccountAccountIdentification model in the balanceplatform API has been significantly updated to support a wider range of local bank account identification types (e.g., AU, BR, CA, CZ, DK, HK, HU, NO, NZ, PL, SE, SG, UK, US local accounts).
  • Code Generation Enhancements: Minor formatting adjustments, import reordering, and Javadoc improvements have been applied across numerous generated model files for better code consistency and readability.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request contains auto-generated updates to services and models. The changes are mostly stylistic, including formatting, indentation, and Javadoc updates. While the code is functionally correct, there's a recurring Javadoc formatting issue across many of the generated model classes where the Javadoc comment block starter /** is not on its own line. This affects readability and deviates from standard Java conventions. I've added a few comments to highlight this pattern, which seems to be a bug in the code generator.

}

/**
/**

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.

medium

The Javadoc for fromJson has a formatting issue. The /** should be on its own line and properly indented for better readability and to adhere to standard Java coding conventions. This issue appears to be present in many of the generated model classes in this pull request.

*
* @return JSON string
*/
/**

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.

medium

Similar to the fromJson method, the Javadoc for toJson has a formatting issue. The /** should start on a new line. This seems to be a recurring issue in the generated code.

}

/**
/**

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.

medium

The Javadoc for fromJson has a formatting issue. The /** should be on its own line and properly indented for better readability and to adhere to standard Java coding conventions.

*
* @return JSON string
*/
/**

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.

medium

Similar to the fromJson method, the Javadoc for toJson has a formatting issue. The /** should start on a new line.

}

/**
/**

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.

medium

The Javadoc for fromJson has a formatting issue. The /** should be on its own line and properly indented for better readability and to adhere to standard Java coding conventions.

*
* @return JSON string
*/
/**

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.

medium

Similar to the fromJson method, the Javadoc for toJson has a formatting issue. The /** should start on a new line.

}

/**
/**

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.

medium

The Javadoc for fromJson has a formatting issue. The /** should be on its own line and properly indented for better readability and to adhere to standard Java coding conventions. This issue appears to be present in many of the generated model classes in this pull request.

*
* @return JSON string
*/
/**

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.

medium

Similar to the fromJson method, the Javadoc for toJson has a formatting issue. The /** should start on a new line. This seems to be a recurring issue in the generated code.

return o.toString().replace("\n", "\n ");
}

/**

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.

medium

The Javadoc for fromJson has a formatting issue. The /** should be on its own line and properly indented for better readability and to adhere to standard Java coding conventions. This issue appears to be present in many of the generated model classes in this pull request.

public static ApproveAssociationRequest fromJson(String jsonString) throws JsonProcessingException {
return JSON.getMapper().readValue(jsonString, ApproveAssociationRequest.class);
}
/**

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.

medium

Similar to the fromJson method, the Javadoc for toJson has a formatting issue. The /** should start on a new line. This seems to be a recurring issue in the generated code.

@gcatanese
gcatanese merged commit 24ff991 into main Oct 9, 2025
5 checks passed
@gcatanese gcatanese added the Feature Indicates a new feature addition label Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Indicates a new feature addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants