docs(api): Update OpenAPI specs for sorting parameters

- Add sortBy and sortOrder parameters to id-docs/approval/list endpoint
- Regenerate TypeScript types from OpenAPI schema

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
Vitor Mattos 2025-12-03 03:10:11 -03:00 committed by Vitor Mattos
parent 746a45000c
commit 33d171749b
4 changed files with 44 additions and 0 deletions

View file

@ -5577,6 +5577,24 @@
"nullable": true
}
},
{
"name": "sortBy",
"in": "query",
"description": "Sort field (e.g., 'owner', 'file_type', 'status')",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "sortOrder",
"in": "query",
"description": "Sort order (ASC or DESC)",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "OCS-APIRequest",
"in": "header",

View file

@ -5427,6 +5427,24 @@
"nullable": true
}
},
{
"name": "sortBy",
"in": "query",
"description": "Sort field (e.g., 'owner', 'file_type', 'status')",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "sortOrder",
"in": "query",
"description": "Sort order (ASC or DESC)",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "OCS-APIRequest",
"in": "header",

View file

@ -3547,6 +3547,10 @@ export interface operations {
page?: number | null;
/** @description Total of elements to return */
length?: number | null;
/** @description Sort field (e.g., 'owner', 'file_type', 'status') */
sortBy?: string | null;
/** @description Sort order (ASC or DESC) */
sortOrder?: string | null;
};
header: {
/** @description Required to be true for the API request to pass */

View file

@ -3156,6 +3156,10 @@ export interface operations {
page?: number | null;
/** @description Total of elements to return */
length?: number | null;
/** @description Sort field (e.g., 'owner', 'file_type', 'status') */
sortBy?: string | null;
/** @description Sort order (ASC or DESC) */
sortOrder?: string | null;
};
header: {
/** @description Required to be true for the API request to pass */