Commit 92d01ff
📖: Add v2 webhook implementation to multiversion tutorial
The multiversion tutorial webhooks.md was only showing the v1 webhook
implementation but not the v2 webhook implementation. This caused
confusion as the v2 webhook has different validation logic to handle
the structured CronSchedule type instead of a simple string.
Updated webhooks.md to show both:
- v1 webhook: handles conversion and validates string-based schedule
- v2 webhook: validates structured CronSchedule by building cron expression from fields
Co-authored-by: camilamacedo86 <7708031+camilamacedo86@users.noreply.github.com>1 parent bca36cc commit 92d01ff
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
10 | 21 | | |
11 | 22 | | |
12 | 23 | | |
| |||
0 commit comments