Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions sdks/schemas/pagination-fixes-overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ actions:
description: "Rename 'prev' query parameter to 'prev_cursor' for consistency"

# Add pagination configuration for events endpoint
# Note: The pagination config references the original parameter name 'next' (not 'next_cursor')
# because x-speakeasy-name-override only affects generated code, not the OpenAPI spec
- target: $["paths"]["/tenants/{tenant_id}/events"]["get"]
update:
x-speakeasy-pagination:
type: cursor
inputs:
- name: next_cursor
- name: next
in: parameters
type: cursor
- name: limit
Expand All @@ -93,13 +95,15 @@ actions:
type: pagination-config
description: "Configure cursor-based pagination for events listing"

# Add pagination configuration for destination events endpoint
# Add pagination configuration for destination events endpoint
# Note: The pagination config references the original parameter name 'next' (not 'next_cursor')
# because x-speakeasy-name-override only affects generated code, not the OpenAPI spec
- target: $["paths"]["/tenants/{tenant_id}/destinations/{destination_id}/events"]["get"]
update:
x-speakeasy-pagination:
type: cursor
inputs:
- name: next_cursor
- name: next
in: parameters
type: cursor
- name: limit
Expand Down
Loading