Skip to content

[softposconfiguration] Code generation: update services and models - #2106

Open
AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/softposconfiguration
Open

AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/softposconfiguration

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the softposconfiguration service.

Adyen/adyen-openapi@638b69a

The commit history of this PR reflects the adyen-openapi commits that have been applied.

@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 introduces the auto-generated Java SDK models and services for the SoftPOS configuration API (v3). The feedback highlights a potential naming conflict with an existing SessionAuthenticationApi class in another package, suggesting a rename to avoid developer confusion. Additionally, it is recommended to use the defined API_VERSION constant in SessionAuthenticationApi instead of hardcoding the version in the base URL.

import com.adyen.service.resource.Resource;
import java.io.IOException;

public class SessionAuthenticationApi extends Service {

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

There is already an existing SessionAuthenticationApi class in the com.adyen.service.sessionauthentication package. Having another class with the exact same name SessionAuthenticationApi in com.adyen.service.softposconfiguration will cause naming conflicts and confusion for developers importing these classes. Consider renaming the tag in the OpenAPI specification (e.g., to SoftPosSessionAuthentication or SoftPosCertificate) to generate a unique class name like SoftPosSessionAuthenticationApi or SoftPosCertificateApi.

*/
public SessionAuthenticationApi(Client client) {
super(client);
this.baseURL = createBaseURL("https://softposconfig-test.adyen.com/softposconfig/v3");

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

Instead of hardcoding the version v3 in the base URL string, use the API_VERSION constant. This ensures consistency and makes future version updates easier and less error-prone.

Suggested change
this.baseURL = createBaseURL("https://softposconfig-test.adyen.com/softposconfig/v3");
this.baseURL = createBaseURL("https://softposconfig-test.adyen.com/softposconfig/v" + API_VERSION);

@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/softposconfiguration branch from ea81f07 to a64036c Compare November 4, 2026 15:14
@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@rowanhalawa22 rowanhalawa22 added the Feature Indicates a new feature addition label Nov 5, 2026

This branch has not been deployed

No deployments
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