Skip to content

Commit 148be0a

Browse files
fix(openapi): sync with openapi definition (#315)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8ef41f4 commit 148be0a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

openapi.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24930,7 +24930,7 @@
2493024930
"name": "aggregation.fields",
2493124931
"in": "query",
2493224932
"required": false,
24933-
"description": "Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,dependencyDirect,dependencyDev,dependencyDead)",
24933+
"description": "Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertPriority,dependencyDirect,dependencyDev,dependencyDead)",
2493424934
"schema": {
2493524935
"type": "string",
2493624936
"default": ""
@@ -26732,6 +26732,11 @@
2673226732
"description": "",
2673326733
"default": ""
2673426734
},
26735+
"updatedAt": {
26736+
"type": "string",
26737+
"description": "",
26738+
"default": ""
26739+
},
2673526740
"description": {
2673626741
"type": "string",
2673726742
"description": "",

types/api.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10137,7 +10137,7 @@ export interface operations {
1013710137
date?: string
1013810138
/** @description The number of days of data to fetch as an offset from input date */
1013910139
range?: string
10140-
/** @description Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,dependencyDirect,dependencyDev,dependencyDead) */
10140+
/** @description Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoLabels,alertType,artifactType,alertAction,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertPriority,dependencyDirect,dependencyDev,dependencyDead) */
1014110141
'aggregation.fields'?: string
1014210142
/** @description Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included */
1014310143
'filters.alertSeverity'?: string
@@ -10704,6 +10704,8 @@ export interface operations {
1070410704
/** @default */
1070510705
createdAt?: string
1070610706
/** @default */
10707+
updatedAt?: string
10708+
/** @default */
1070710709
description?: string
1070810710
/** @default 0 */
1070910711
id?: number

0 commit comments

Comments
 (0)