Skip to content

Commit 7c0799e

Browse files
committed
Fix snapshots
1 parent eebe6a6 commit 7c0799e

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

packages/openapi-typescript/examples/digital-ocean-api.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -5522,10 +5522,10 @@ export interface external {
55225522
* "doadmin"
55235523
* ]
55245524
*/
5525-
db_names?: readonly string[] | null;
5525+
db_names?: (readonly string[]) | null;
55265526
connection?: external["resources/databases/models/database_connection.yml"];
55275527
private_connection?: external["resources/databases/models/database_connection.yml"];
5528-
users?: readonly external["resources/databases/models/database_user.yml"][] | null;
5528+
users?: (readonly external["resources/databases/models/database_user.yml"][]) | null;
55295529
maintenance_window?: external["resources/databases/models/database_maintenance_window.yml"];
55305530
/**
55315531
* Format: uuid
@@ -15392,7 +15392,7 @@ export interface external {
1539215392
* @description An array containing the IDs of the Droplets the volume is attached to. Note that at this time, a volume can only be attached to a single Droplet.
1539315393
* @example []
1539415394
*/
15395-
droplet_ids?: readonly number[] | null;
15395+
droplet_ids?: (readonly number[]) | null;
1539615396
/**
1539715397
* @description A human-readable name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
1539815398
* @example example

packages/openapi-typescript/examples/github-api-next.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -10766,7 +10766,7 @@ export interface components {
1076610766
/** @description The package version that resolve the vulnerability. */
1076710767
first_patched_version: string | null;
1076810768
/** @description The functions in the package that are affected by the vulnerability. */
10769-
vulnerable_functions: readonly string[] | null;
10769+
vulnerable_functions: (readonly string[]) | null;
1077010770
})[]) | null;
1077110771
cvss: ({
1077210772
/** @description The CVSS vector. */
@@ -10780,10 +10780,10 @@ export interface components {
1078010780
/** @description The name of the CWE. */
1078110781
name: string;
1078210782
}[] | null;
10783-
credits: readonly {
10783+
credits: (readonly {
1078410784
user: components["schemas"]["simple-user"];
1078510785
type: components["schemas"]["security-advisory-credit-types"];
10786-
}[] | null;
10786+
}[]) | null;
1078710787
};
1078810788
/**
1078910789
* Basic Error
@@ -14456,20 +14456,20 @@ export interface components {
1445614456
/** @description The CVSS score. */
1445714457
score: number | null;
1445814458
}) | null;
14459-
cwes: readonly {
14459+
cwes: (readonly {
1446014460
/** @description The Common Weakness Enumeration (CWE) identifier. */
1446114461
cwe_id: string;
1446214462
/** @description The name of the CWE. */
1446314463
name: string;
14464-
}[] | null;
14464+
}[]) | null;
1446514465
/** @description A list of only the CWE IDs. */
1446614466
cwe_ids: string[] | null;
1446714467
credits: {
1446814468
/** @description The username of the user credited. */
1446914469
login?: string;
1447014470
type?: components["schemas"]["security-advisory-credit-types"];
1447114471
}[] | null;
14472-
credits_detailed: readonly components["schemas"]["repository-advisory-credit"][] | null;
14472+
credits_detailed: (readonly components["schemas"]["repository-advisory-credit"][]) | null;
1447314473
/** @description A list of users that collaborate on the advisory. */
1447414474
collaborating_users: components["schemas"]["simple-user"][] | null;
1447514475
/** @description A list of teams that collaborate on the advisory. */
@@ -16540,7 +16540,7 @@ export interface components {
1654016540
*/
1654116541
analyses_url?: string | null;
1654216542
/** @description Any errors that ocurred during processing of the delivery. */
16543-
errors?: readonly string[] | null;
16543+
errors?: (readonly string[]) | null;
1654416544
};
1654516545
/**
1654616546
* CODEOWNERS errors

packages/openapi-typescript/examples/github-api.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -8251,7 +8251,7 @@ export interface components {
82518251
/** @description The package version that resolve the vulnerability. */
82528252
first_patched_version: string | null;
82538253
/** @description The functions in the package that are affected by the vulnerability. */
8254-
vulnerable_functions: readonly string[] | null;
8254+
vulnerable_functions: (readonly string[]) | null;
82558255
})[]) | null;
82568256
cvss: ({
82578257
/** @description The CVSS vector. */
@@ -8265,10 +8265,10 @@ export interface components {
82658265
/** @description The name of the CWE. */
82668266
name: string;
82678267
}[] | null;
8268-
credits: readonly {
8268+
credits: (readonly {
82698269
user: components["schemas"]["simple-user"];
82708270
type: components["schemas"]["security-advisory-credit-types"];
8271-
}[] | null;
8271+
}[]) | null;
82728272
};
82738273
/**
82748274
* Basic Error
@@ -13572,20 +13572,20 @@ export interface components {
1357213572
/** @description The CVSS score. */
1357313573
score: number | null;
1357413574
}) | null;
13575-
cwes: readonly {
13575+
cwes: (readonly {
1357613576
/** @description The Common Weakness Enumeration (CWE) identifier. */
1357713577
cwe_id: string;
1357813578
/** @description The name of the CWE. */
1357913579
name: string;
13580-
}[] | null;
13580+
}[]) | null;
1358113581
/** @description A list of only the CWE IDs. */
1358213582
cwe_ids: string[] | null;
1358313583
credits: {
1358413584
/** @description The username of the user credited. */
1358513585
login?: string;
1358613586
type?: components["schemas"]["security-advisory-credit-types"];
1358713587
}[] | null;
13588-
credits_detailed: readonly components["schemas"]["repository-advisory-credit"][] | null;
13588+
credits_detailed: (readonly components["schemas"]["repository-advisory-credit"][]) | null;
1358913589
/** @description A list of users that collaborate on the advisory. */
1359013590
collaborating_users: components["schemas"]["simple-user"][] | null;
1359113591
/** @description A list of teams that collaborate on the advisory. */
@@ -17232,7 +17232,7 @@ export interface components {
1723217232
*/
1723317233
analyses_url?: string | null;
1723417234
/** @description Any errors that ocurred during processing of the delivery. */
17235-
errors?: readonly string[] | null;
17235+
errors?: (readonly string[]) | null;
1723617236
};
1723717237
/**
1723817238
* CODEOWNERS errors

0 commit comments

Comments
 (0)