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

@@ -1040,3 +1040,13 @@ post:
'500':
$ref: ../components/responses/500_error.yaml
x-workflow: createCollectionsWorkflow
x-events:
- name: product-collection.created
payload: |-
```ts
[{
id, // The ID of the product collection
}]
```
description: Emitted when product collections are created.
deprecated: false