docs: generate OAS with events (#12394)

* docs: generate OAS with events

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

No files matched your search

@@ -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
*
*/