From 6ba68fe5cc593e6f1713cf187b4c7f60c9408cd8 Mon Sep 17 00:00:00 2001 From: Catherine Deskur <46695336+chdeskur@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:24:53 -0400 Subject: [PATCH] (chore): enable pagination --- fern/openapi-overrides.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fern/openapi-overrides.yml b/fern/openapi-overrides.yml index 68a9b15..9c035c3 100644 --- a/fern/openapi-overrides.yml +++ b/fern/openapi-overrides.yml @@ -1,3 +1,7 @@ +x-fern-pagination: + cursor: $request.pageToken + next_cursor: $response.nextPageToken + results: $response.results paths: /v1/nonprofit/{ein}: get: @@ -26,6 +30,7 @@ paths: x-fern-sdk-method-name: get /v1/grants: get: + x-fern-pagination: true x-fern-sdk-group-name: - grants x-fern-sdk-method-name: list @@ -58,6 +63,7 @@ paths: x-fern-sdk-method-name: update /v1/dafs: get: + x-fern-pagination: true x-fern-sdk-group-name: - daFs x-fern-sdk-method-name: list @@ -68,6 +74,10 @@ paths: x-fern-sdk-method-name: get /v1/events: get: + x-fern-pagination: + cursor: $request.cursor + next_cursor: $response.nextPageToken + results: $response.results x-fern-sdk-group-name: - events x-fern-sdk-method-name: list @@ -139,3 +149,4 @@ paths: type: string expires_in: type: integer +