Skip to content

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

Closed
github-actions[bot] wants to merge 1 commit intomasterfrom
update-diff-20250409062402
Closed

Add type as required property in source object of webhook#484
github-actions[bot] wants to merge 1 commit intomasterfrom
update-diff-20250409062402

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
Copy link
Copy Markdown
Contributor

Yang-33 commented Apr 9, 2025


sig/** is missing

@Yang-33
Copy link
Copy Markdown
Contributor

Yang-33 commented Apr 9, 2025

let me fix this in another PR

@Yang-33 Yang-33 closed this Apr 9, 2025
@Yang-33 Yang-33 deleted the update-diff-20250409062402 branch April 9, 2025 06:46
github-merge-queue Bot pushed a commit that referenced this pull request Apr 9, 2025
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