Commit 1fc4f01
Add type as required property in source object of webhook (#797)
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 8f3854e commit 1fc4f01
2 files changed
+3
-3
lines changedSubmodule line-openapi updated 1 file
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments