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