Skip to content

Add type as required property in source object of webhook#797

Merged
Yang-33 merged 1 commit intomasterfrom
update-diff-20250409062331
Apr 9, 2025
Merged

Add type as required property in source object of webhook#797
Yang-33 merged 1 commit intomasterfrom
update-diff-20250409062331

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 9, 2025

line/line-openapi#103

In the Messaging API webhook, we use discriminator to differentiate classes based on the value of type. During the development of bot SDK for Ruby v2, it seems that only Source does not have type marked as required. This is simply a mistake. The type should always be included to distinguish the kind of JSON, and there should not be any instances where it is absent.

@Yang-33 Yang-33 merged commit 1fc4f01 into master Apr 9, 2025
13 checks passed
@Yang-33 Yang-33 deleted the update-diff-20250409062331 branch April 9, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant