Skip to content

Commit 1310715

Browse files
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 <[email protected]>
1 parent 16c1670 commit 1310715

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

openapi-full.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5577,6 +5577,24 @@
55775577
"nullable": true
55785578
}
55795579
},
5580+
{
5581+
"name": "sortBy",
5582+
"in": "query",
5583+
"description": "Sort field (e.g., 'owner', 'file_type', 'status')",
5584+
"schema": {
5585+
"type": "string",
5586+
"nullable": true
5587+
}
5588+
},
5589+
{
5590+
"name": "sortOrder",
5591+
"in": "query",
5592+
"description": "Sort order (ASC or DESC)",
5593+
"schema": {
5594+
"type": "string",
5595+
"nullable": true
5596+
}
5597+
},
55805598
{
55815599
"name": "OCS-APIRequest",
55825600
"in": "header",

openapi.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5427,6 +5427,24 @@
54275427
"nullable": true
54285428
}
54295429
},
5430+
{
5431+
"name": "sortBy",
5432+
"in": "query",
5433+
"description": "Sort field (e.g., 'owner', 'file_type', 'status')",
5434+
"schema": {
5435+
"type": "string",
5436+
"nullable": true
5437+
}
5438+
},
5439+
{
5440+
"name": "sortOrder",
5441+
"in": "query",
5442+
"description": "Sort order (ASC or DESC)",
5443+
"schema": {
5444+
"type": "string",
5445+
"nullable": true
5446+
}
5447+
},
54305448
{
54315449
"name": "OCS-APIRequest",
54325450
"in": "header",

src/types/openapi/openapi-full.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3547,6 +3547,10 @@ export interface operations {
35473547
page?: number | null;
35483548
/** @description Total of elements to return */
35493549
length?: number | null;
3550+
/** @description Sort field (e.g., 'owner', 'file_type', 'status') */
3551+
sortBy?: string | null;
3552+
/** @description Sort order (ASC or DESC) */
3553+
sortOrder?: string | null;
35503554
};
35513555
header: {
35523556
/** @description Required to be true for the API request to pass */

src/types/openapi/openapi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,6 +3156,10 @@ export interface operations {
31563156
page?: number | null;
31573157
/** @description Total of elements to return */
31583158
length?: number | null;
3159+
/** @description Sort field (e.g., 'owner', 'file_type', 'status') */
3160+
sortBy?: string | null;
3161+
/** @description Sort order (ASC or DESC) */
3162+
sortOrder?: string | null;
31593163
};
31603164
header: {
31613165
/** @description Required to be true for the API request to pass */

0 commit comments

Comments
 (0)