docs: generate OAS with events (#12394)
* docs: generate OAS with events * small change
This commit is contained in:
1 parent
262064fe96
commit
a3bdb3e383
515 files changed
+3808
-189
No files matched your search
+14
@@ -67,6 +67,20 @@
|
||||
* application/json:
|
||||
* schema:
|
||||
* $ref: "#/components/schemas/ResetPasswordRequest"
|
||||
* x-events:
|
||||
* - name: auth.password_reset
|
||||
* payload: |-
|
||||
* ```ts
|
||||
* {
|
||||
* entity_id, // The identifier of the user or customer. For example, an email address.
|
||||
* actor_type, // The type of actor. For example, "customer", "user", or custom.
|
||||
* token, // The generated token.
|
||||
* }
|
||||
* ```
|
||||
* description: |-
|
||||
* Emitted when a reset password token is generated. You can listen to this event
|
||||
* to send a reset password email to the user or customer, for example.
|
||||
* deprecated: false
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user