unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Add speakeasy pagination to sdk

Open Flo4604 opened this issue 2 months ago • 1 comments

For speakeasy to know about paginated endpoints, we need to use the x-speakeasy-pagination directive.

This is currently only used by the listIdentities endpoint, but should be used by all endpoints that we have a cursor for.

Openapi spec hast to be adjusted and the speakeasy sdk has to be generated locally against the local openapi spec in order to test this.

go/apps/api/openapi/spec/paths/v2/identities/listIdentities/index.yaml is an example of this

Flo4604 avatar Oct 17 '25 18:10 Flo4604

ENG-2123

linear[bot] avatar Oct 17 '25 18:10 linear[bot]