Skip to content

Commit b9f8ded

Browse files
Pijukatelclaude
andauthored
chore(openapi): Make data required in ListOfWebhookDispatchesResponse (#2467)
- Make data required in `ListOfWebhookDispatchesResponse` - Align the response name with other similar response names Co-authored-by: Claude <noreply@anthropic.com>
1 parent 473eeb0 commit b9f8ded

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatchList.yaml renamed to apify-api/openapi/components/schemas/webhook-dispatches/ListOfWebhookDispatchesResponse.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
title: WebhookDispatchList
1+
title: ListOfWebhookDispatchesResponse
2+
required:
3+
- data
24
type: object
35
properties:
46
data:

apify-api/openapi/paths/webhook-dispatches/webhook-dispatches.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ get:
2222
content:
2323
application/json:
2424
schema:
25-
$ref: ../../components/schemas/webhook-dispatches/WebhookDispatchList.yaml
25+
$ref: ../../components/schemas/webhook-dispatches/ListOfWebhookDispatchesResponse.yaml
2626
"400":
2727
$ref: ../../components/responses/BadRequest.yaml
2828
"401":

apify-api/openapi/paths/webhooks/webhooks@{webhookId}@dispatches.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ get:
1313
content:
1414
application/json:
1515
schema:
16-
$ref: ../../components/schemas/webhook-dispatches/WebhookDispatchList.yaml
16+
$ref: ../../components/schemas/webhook-dispatches/ListOfWebhookDispatchesResponse.yaml
1717
"400":
1818
$ref: ../../components/responses/BadRequest.yaml
1919
"401":

0 commit comments

Comments
 (0)