Greetings Atlassian,
The current OpenAPI/swagger defintion of Bitbucket Cloud does not contain consistent definitions of the HTTP parameters if `page` and `pagelen` which are used to control the pagination of paginated collections.
Only GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests contains this definition currently.
My request to add these parameters to all paginated objects, so clients can properly get generated with pagination support. This is about the following OpenAPI definitions:
parameters: [
...
{
"name": "pagelen",
"in": "query",
"description": "How many pull requests to retrieve per page",
"required": false,
"type": "integer",
"default": 10,
"format": "int32"
},
{
"name": "page",
"in": "query",
"description": "Which page to retrieve",
"required": false,
"type": "integer",
"default": 1,
"format": "int32"
}]