docs: generate OAS with events (#12394)
* docs: generate OAS with events * small change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user