docs: generate OAS with events (#12394)

* docs: generate OAS with events

* small change
This commit is contained in:
Shahed Nasser
2025-05-07 14:57:03 +03:00
committed by GitHub
parent 262064fe96
commit a3bdb3e383
515 changed files with 3808 additions and 189 deletions

View File

@@ -673,3 +673,15 @@ post:
- api_token: []
- cookie_auth: []
- jwt_token: []
x-events:
- name: invite.created
payload: |-
```ts
[{
id, // The ID of the invite
}]
```
description: |-
Emitted when invites are created. You can listen to this event
to send an email to the invited users, for example.
deprecated: false