Skip to content

Commit d840b99

Browse files
authored
fix: specify unique operationId for get collection (webhook) endpoint (#2057)
This PR fix OpenAPI docs rendering where due to non-unique `operationId` it shows wrong endpoing documentation for "webhook dispatches" section. Please check attached screenshots for more info. Also, as positive side effect it should be the last blocker for generating (Go and other languages) clients from our `openapi.yaml` spec. Close: #2000 <img width="1912" height="1237" alt="Screenshot 2025-10-31 at 14 35 45" src="https://github.com/user-attachments/assets/e25edc23-dc46-4526-8006-92e620861e38" /> <img width="1912" height="1237" alt="Screenshot 2025-10-31 at 14 43 07" src="https://github.com/user-attachments/assets/04e78501-f9fc-4127-b5bd-bedb1d3c45f3" /> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Renames the OpenAPI operationId for GET webhook dispatches to a unique identifier. > > - **OpenAPI**: > - Update `operationId` for `GET` `webhooks/{webhookId}/dispatches` in `apify-api/openapi/paths/webhooks/webhooks@{webhookId}@dispatches.yaml` from `webhook_dispatches_get` to `webhook_webhookDispatches_get`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit e00951c. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 24344ca commit d840b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ get:
33
- Webhooks/Webhooks
44
summary: Get collection
55
description: Gets a given webhook's list of dispatches.
6-
operationId: webhook_dispatches_get
6+
operationId: webhook_webhookDispatches_get
77
parameters:
88
- name: webhookId
99
in: path

0 commit comments

Comments
 (0)