Uh oh!
There was an error while loading. Please reload this page.
chore: regenerate api-client against staging - #1727
Conversation
Generated with `make api-client STAGING=1`
Important Review skippedToo many files! This PR contains 422 files, which is 272 over the limit of 150. To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to Pro+ to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (422)
You can disable this status message by setting the Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## master #1727 +/- ##
=======================================
Coverage 79.15% 79.15% =======================================
Files 271 271 Lines 18794 18796 +2 =======================================
+ Hits 14876 14878 +2
Misses 3918 3918 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| # The generator collapses the `type` enums of NotificationChannelDestination's oneOf children | ||
| # into the last child's single value (IN_PLATFORM), so valid destinations of the other types | ||
| # fail client-side validation on both serialization and response parsing. Restore the full set. | ||
| NotificationChannelDestination.allowed_values[("type",)].update( | ||
| { | ||
| "WEBHOOK": "WEBHOOK", | ||
| "SMTP": "SMTP", | ||
| "DEFAULT_SMTP": "DEFAULT_SMTP", | ||
| "IN_PLATFORM": "IN_PLATFORM", | ||
| } | ||
| ) | ||
There was a problem hiding this comment.
Could you please elaborate why is this change necessary? I do not see any update in gooddata_api_client.model.notification_channel_destination
There was a problem hiding this comment.
The tests fail without it https://github.com/gooddata/gooddata-python-sdk/actions/runs/31482951615/job/93751911476?pr=1727.
gooddata-api-client/gooddata_api_client/model/declarative_notification_channel.py changed from DeclarativeNotificationChannelDestination to NotificationChannelDestination. They have different order of values in oneOf.
"oneOf": [
{
"$ref": "#/components/schemas/DefaultSmtp"
},
{
"$ref": "#/components/schemas/InPlatform"
},
{
"$ref": "#/components/schemas/Smtp"
},
{
"$ref": "#/components/schemas/Webhook"
}
]
"NotificationChannelDestination": {
"oneOf": [
{
"$ref": "#/components/schemas/Webhook"
},
{
"$ref": "#/components/schemas/Smtp"
},
{
"$ref": "#/components/schemas/DefaultSmtp"
},
{
"$ref": "#/components/schemas/InPlatform"
}
],
"type": "object"
},
Due to some bug only the last value is accepted, which now changed from Webhook to InPlatform.
31c1649 to
821b8c7Compare821b8c7 to
384754aCompareUh oh!
There was an error while loading. Please reload this page.
Generated with
make api-client STAGING=1