Optional ReadonlybodySchema describing the webhook request payload.
Optional ReadonlydescriptionLonger description for OpenAPI documentation. Supports Markdown.
Optional ReadonlymethodHTTP method sent to the consumer endpoint (default: 'POST').
ReadonlynameUnique webhook name used as the key in the webhooks map.
Optional ReadonlyresponseSchema describing the expected response from the consumer.
Optional ReadonlysummaryShort summary for OpenAPI documentation.
Optional ReadonlytagsTags to group this webhook in generated documentation.
Describes an out-of-band webhook that your API can send to consumers.
Pass instances to
ServerBuilder.webhook()so that@cleverbrush/server-openapican emit them inside thewebhooksmap of the generated OpenAPI document.Example