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

Add deprecation info - models #735

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Add deprecation info - models #735

merged 1 commit into from
Jan 30, 2025

Conversation

ayodejidev
Copy link
Contributor

@ayodejidev ayodejidev commented Jan 29, 2025

Description
This PR improves the mustache templates by adding the additional information (deprecationInVersion, deprecationMessage) to deprecated models. The info is displayed only when at leastx-deprecatedInVersion is available. Else, only the deprecation tag is displayed.

Tested scenarios

  • Ran the adyen-sdk-automation against the adyen-php-library to verify expected output.

Example

Before:

* @deprecated

After:

* @deprecated  since Configuration API v2. "Please use `bankAccount` object instead"

@ayodejidev ayodejidev requested a review from a team as a code owner January 29, 2025 11:03
@ayodejidev ayodejidev merged commit f10d14c into main Jan 30, 2025
4 checks passed
@ayodejidev ayodejidev deleted the add-deprecation-info branch January 30, 2025 08:37
@ayodejidev ayodejidev changed the title Add deprecation info Add deprecation info - models Jan 31, 2025
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