Commit ba382d0
Add type as required property in source object of webhook (#572)
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.
Co-authored-by: github-actions <[email protected]>1 parent d566673 commit ba382d0
2 files changed
+2
-2
lines changedSubmodule line-openapi updated 1 file
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments