Skip to content

Commit 0ebee4c

Browse files
fix(openapi): sync with openapi definition (#336)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2578586 commit 0ebee4c

File tree

2 files changed

+122
-0
lines changed

2 files changed

+122
-0
lines changed

openapi.json

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,13 +2692,36 @@
26922692
},
26932693
"description": "",
26942694
"nullable": true
2695+
},
2696+
"epss": {
2697+
"type": "object",
2698+
"additionalProperties": false,
2699+
"description": "",
2700+
"properties": {
2701+
"score": {
2702+
"type": "number",
2703+
"description": "",
2704+
"default": 0
2705+
},
2706+
"percentile": {
2707+
"type": "number",
2708+
"description": "",
2709+
"default": 0
2710+
}
2711+
},
2712+
"required": [
2713+
"percentile",
2714+
"score"
2715+
],
2716+
"nullable": true
26952717
}
26962718
},
26972719
"required": [
26982720
"cveId",
26992721
"cvss",
27002722
"cwes",
27012723
"description",
2724+
"epss",
27022725
"firstPatchedVersionIdentifier",
27032726
"ghsaId",
27042727
"kevs",
@@ -2914,13 +2937,36 @@
29142937
},
29152938
"description": "",
29162939
"nullable": true
2940+
},
2941+
"epss": {
2942+
"type": "object",
2943+
"additionalProperties": false,
2944+
"description": "",
2945+
"properties": {
2946+
"score": {
2947+
"type": "number",
2948+
"description": "",
2949+
"default": 0
2950+
},
2951+
"percentile": {
2952+
"type": "number",
2953+
"description": "",
2954+
"default": 0
2955+
}
2956+
},
2957+
"required": [
2958+
"percentile",
2959+
"score"
2960+
],
2961+
"nullable": true
29172962
}
29182963
},
29192964
"required": [
29202965
"cveId",
29212966
"cvss",
29222967
"cwes",
29232968
"description",
2969+
"epss",
29242970
"firstPatchedVersionIdentifier",
29252971
"ghsaId",
29262972
"kevs",
@@ -3136,13 +3182,36 @@
31363182
},
31373183
"description": "",
31383184
"nullable": true
3185+
},
3186+
"epss": {
3187+
"type": "object",
3188+
"additionalProperties": false,
3189+
"description": "",
3190+
"properties": {
3191+
"score": {
3192+
"type": "number",
3193+
"description": "",
3194+
"default": 0
3195+
},
3196+
"percentile": {
3197+
"type": "number",
3198+
"description": "",
3199+
"default": 0
3200+
}
3201+
},
3202+
"required": [
3203+
"percentile",
3204+
"score"
3205+
],
3206+
"nullable": true
31393207
}
31403208
},
31413209
"required": [
31423210
"cveId",
31433211
"cvss",
31443212
"cwes",
31453213
"description",
3214+
"epss",
31463215
"firstPatchedVersionIdentifier",
31473216
"ghsaId",
31483217
"kevs",
@@ -3358,13 +3427,36 @@
33583427
},
33593428
"description": "",
33603429
"nullable": true
3430+
},
3431+
"epss": {
3432+
"type": "object",
3433+
"additionalProperties": false,
3434+
"description": "",
3435+
"properties": {
3436+
"score": {
3437+
"type": "number",
3438+
"description": "",
3439+
"default": 0
3440+
},
3441+
"percentile": {
3442+
"type": "number",
3443+
"description": "",
3444+
"default": 0
3445+
}
3446+
},
3447+
"required": [
3448+
"percentile",
3449+
"score"
3450+
],
3451+
"nullable": true
33613452
}
33623453
},
33633454
"required": [
33643455
"cveId",
33653456
"cvss",
33663457
"cwes",
33673458
"description",
3459+
"epss",
33683460
"firstPatchedVersionIdentifier",
33693461
"ghsaId",
33703462
"kevs",
@@ -9206,6 +9298,7 @@
92069298
"schema": {
92079299
"type": "string",
92089300
"enum": [
9301+
"AddLicenseOverlayNote",
92099302
"AssociateLabel",
92109303
"CancelInvitation",
92119304
"ChangeMemberRole",
@@ -9218,9 +9311,11 @@
92189311
"DeleteRepository",
92199312
"DisassociateLabel",
92209313
"JoinOrganization",
9314+
"RemoveLicenseOverlay",
92219315
"RemoveMember",
92229316
"ResetInvitationLink",
92239317
"ResetOrganizationSettingToDefault",
9318+
"RevokeApiToken",
92249319
"RotateApiToken",
92259320
"SendInvitation",
92269321
"SetLabelSettingToDefault",

types/api.d.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,6 +2096,12 @@ export interface components {
20962096
/** @default */
20972097
product: string
20982098
}> | null
2099+
epss: {
2100+
/** @default 0 */
2101+
score: number
2102+
/** @default 0 */
2103+
percentile: number
2104+
} | null
20992105
}
21002106
usage?: components['schemas']['SocketUsageRef']
21012107
}
@@ -2157,6 +2163,12 @@ export interface components {
21572163
/** @default */
21582164
product: string
21592165
}> | null
2166+
epss: {
2167+
/** @default 0 */
2168+
score: number
2169+
/** @default 0 */
2170+
percentile: number
2171+
} | null
21602172
}
21612173
usage?: components['schemas']['SocketUsageRef']
21622174
}
@@ -2218,6 +2230,12 @@ export interface components {
22182230
/** @default */
22192231
product: string
22202232
}> | null
2233+
epss: {
2234+
/** @default 0 */
2235+
score: number
2236+
/** @default 0 */
2237+
percentile: number
2238+
} | null
22212239
}
22222240
usage?: components['schemas']['SocketUsageRef']
22232241
}
@@ -2279,6 +2297,12 @@ export interface components {
22792297
/** @default */
22802298
product: string
22812299
}> | null
2300+
epss: {
2301+
/** @default 0 */
2302+
score: number
2303+
/** @default 0 */
2304+
percentile: number
2305+
} | null
22822306
}
22832307
usage?: components['schemas']['SocketUsageRef']
22842308
}
@@ -4337,6 +4361,7 @@ export interface operations {
43374361
query?: {
43384362
/** @description Filter audit log events by type. Omit for all types. */
43394363
type?:
4364+
| 'AddLicenseOverlayNote'
43404365
| 'AssociateLabel'
43414366
| 'CancelInvitation'
43424367
| 'ChangeMemberRole'
@@ -4349,9 +4374,11 @@ export interface operations {
43494374
| 'DeleteRepository'
43504375
| 'DisassociateLabel'
43514376
| 'JoinOrganization'
4377+
| 'RemoveLicenseOverlay'
43524378
| 'RemoveMember'
43534379
| 'ResetInvitationLink'
43544380
| 'ResetOrganizationSettingToDefault'
4381+
| 'RevokeApiToken'
43554382
| 'RotateApiToken'
43564383
| 'SendInvitation'
43574384
| 'SetLabelSettingToDefault'

0 commit comments

Comments
 (0)