mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
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:
parent
746a45000c
commit
33d171749b
4 changed files with 44 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
18
openapi.json
18
openapi.json
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue