zulip/zerver/webhooks/json
Zixuan James Li 318a9316a7 webhooks: Migrate webhooks with special payload types to use @typed_endpoint.
Instead of a WildValue, the JSON/Sentry webhook expect the request body to be a
dict.

For the JSON webhook, json.dumps accepts other types of input as well and the
constraint is not necessary, but this serve as a good example of an alternative
use of WebhookPayload to describe a payload that is intended to be parsed from
the entire request body from JSON, into a type other than WildValue.
2023-09-08 08:20:17 -07:00
..
fixtures
__init__.py
doc.md integrations-docs: Make use of consistent spacing. 2023-08-14 13:29:59 -07:00
tests.py ruff: Fix UP032 Use f-string instead of `format` call. 2023-07-23 15:18:18 -07:00
view.py webhooks: Migrate webhooks with special payload types to use @typed_endpoint. 2023-09-08 08:20:17 -07:00