diff --git a/seed/pydantic/pagination/.mock/definition/users.yml b/seed/pydantic/pagination/.mock/definition/users.yml index b8a1df01ccc..a135137954d 100644 --- a/seed/pydantic/pagination/.mock/definition/users.yml +++ b/seed/pydantic/pagination/.mock/definition/users.yml @@ -152,6 +152,31 @@ service: the next page of results. response: ListUsersPaginationResponse + listWithDoubleOffsetPagination: + pagination: + offset: $request.page + results: $response.data + method: GET + path: "" + request: + name: ListUsersDoubleOffsetPaginationRequest + query-parameters: + page: + type: optional + docs: Defaults to first page + default: 0 + per_page: + type: optional + docs: Defaults to per page + order: + type: optional + starting_after: + type: optional + docs: | + The cursor used for pagination in order to fetch + the next page of results. + response: ListUsersPaginationResponse + listWithBodyOffsetPagination: pagination: offset: $request.pagination.page @@ -267,4 +292,4 @@ service: query-parameters: offset: type: optional - response: UsernameContainer \ No newline at end of file + response: UsernameContainer