Skip to content

Commit f864d81

Browse files
committed
chore: examples digital-ocean-api.ts update
1 parent 1d0011b commit f864d81

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

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

+43-43
Original file line numberDiff line numberDiff line change
@@ -932,13 +932,13 @@ export interface external {
932932
/**
933933
* Format: date-time
934934
* @description A time value given in ISO8601 combined date and time format that represents when the action was initiated.
935-
* @example "2020-11-14T16:29:21.000Z"
935+
* @example 2020-11-14T16:29:21.000Z
936936
*/
937937
started_at?: string;
938938
/**
939939
* Format: date-time
940940
* @description A time value given in ISO8601 combined date and time format that represents when the action was completed.
941-
* @example "2020-11-14T16:30:06.000Z"
941+
* @example 2020-11-14T16:30:06.000Z
942942
*/
943943
completed_at?: string | null;
944944
/**
@@ -1317,7 +1317,7 @@ export interface external {
13171317
query?: {
13181318
/**
13191319
* @description Optional day to query. Only the date component of the timestamp will be considered. Default: yesterday.
1320-
* @example "2023-01-17T00:00:00.000Z"
1320+
* @example 2023-01-17T00:00:00.000Z
13211321
*/
13221322
date?: string;
13231323
};
@@ -1646,13 +1646,13 @@ export interface external {
16461646
/**
16471647
* The start time of this step
16481648
* Format: date-time
1649-
* @example "2020-11-19T20:27:18.000Z"
1649+
* @example 2020-11-19T20:27:18.000Z
16501650
*/
16511651
started_at?: string;
16521652
/**
16531653
* The start time of this step
16541654
* Format: date-time
1655-
* @example "2020-11-19T20:27:18.000Z"
1655+
* @example 2020-11-19T20:27:18.000Z
16561656
*/
16571657
ended_at?: string;
16581658
reason?: external["resources/apps/models/app_alert_progress_step_reason.yml"];
@@ -2020,7 +2020,7 @@ export interface external {
20202020
/**
20212021
* Format: date-time
20222022
* @description Optional day to query. Only the date component of the timestamp will be considered. Default: yesterday.
2023-
* @example "2023-01-17T00:00:00.000Z"
2023+
* @example 2023-01-17T00:00:00.000Z
20242024
*/
20252025
date?: string;
20262026
}
@@ -2030,7 +2030,7 @@ export interface external {
20302030
/**
20312031
* Format: date-time
20322032
* @description The date for the metrics data.
2033-
* @example "2023-01-17T00:00:00.000Z"
2033+
* @example 2023-01-17T00:00:00.000Z
20342034
*/
20352035
date?: string;
20362036
}
@@ -2281,7 +2281,7 @@ export interface external {
22812281
/**
22822282
* The creation time of the app
22832283
* Format: date-time
2284-
* @example "2020-11-19T20:27:18.000Z"
2284+
* @example 2020-11-19T20:27:18.000Z
22852285
*/
22862286
created_at?: string;
22872287
/**
@@ -2300,7 +2300,7 @@ export interface external {
23002300
/**
23012301
* The creation time of the last deployment
23022302
* Format: date-time
2303-
* @example "2020-11-19T20:27:18.000Z"
2303+
* @example 2020-11-19T20:27:18.000Z
23042304
*/
23052305
last_deployment_created_at?: string;
23062306
/**
@@ -2339,7 +2339,7 @@ export interface external {
23392339
/**
23402340
* Time of the app's last configuration update
23412341
* Format: date-time
2342-
* @example "2020-12-01T00:42:16.000Z"
2342+
* @example 2020-12-01T00:42:16.000Z
23432343
*/
23442344
updated_at?: string;
23452345
pinned_deployment?: external["resources/apps/models/apps_deployment.yml"];
@@ -2479,7 +2479,7 @@ export interface external {
24792479
/**
24802480
* The end time of this step
24812481
* Format: date-time
2482-
* @example "2020-11-19T20:27:18.000Z"
2482+
* @example 2020-11-19T20:27:18.000Z
24832483
*/
24842484
ended_at?: string;
24852485
/**
@@ -2499,7 +2499,7 @@ export interface external {
24992499
/**
25002500
* The start time of this step
25012501
* Format: date-time
2502-
* @example "2020-11-19T20:27:18.000Z"
2502+
* @example 2020-11-19T20:27:18.000Z
25032503
*/
25042504
started_at?: string;
25052505
status?: external["resources/apps/models/apps_deployment_progress_step_status.yml"];
@@ -2595,7 +2595,7 @@ export interface external {
25952595
/**
25962596
* The creation time of the deployment
25972597
* Format: date-time
2598-
* @example "2020-07-28T18:00:00.000Z"
2598+
* @example 2020-07-28T18:00:00.000Z
25992599
*/
26002600
created_at?: string;
26012601
/**
@@ -2611,7 +2611,7 @@ export interface external {
26112611
/**
26122612
* When the deployment phase was last updated
26132613
* Format: date-time
2614-
* @example "1901-01-01T00:00:00.000Z"
2614+
* @example 1901-01-01T00:00:00.000Z
26152615
*/
26162616
phase_last_updated_at?: string;
26172617
progress?: external["resources/apps/models/apps_deployment_progress.yml"];
@@ -2628,7 +2628,7 @@ export interface external {
26282628
/**
26292629
* When the deployment was last updated
26302630
* Format: date-time
2631-
* @example "2020-07-28T18:00:00.000Z"
2631+
* @example 2020-07-28T18:00:00.000Z
26322632
*/
26332633
updated_at?: string;
26342634
/** Worker components that are part of this deployment */
@@ -3302,7 +3302,7 @@ export interface external {
33023302
/**
33033303
* Format: date-time
33043304
* @description The time at which balances were most recently generated.
3305-
* @example "2019-07-09T15:01:12.000Z"
3305+
* @example 2019-07-09T15:01:12.000Z
33063306
*/
33073307
generated_at?: string;
33083308
}
@@ -3339,12 +3339,12 @@ export interface external {
33393339
country_iso2_code?: string;
33403340
/**
33413341
* @description Timestamp billing address was created
3342-
* @example "2019-09-03T16:34:46.000Z"
3342+
* @example 2019-09-03T16:34:46.000Z
33433343
*/
33443344
created_at?: string;
33453345
/**
33463346
* @description Timestamp billing address was updated
3347-
* @example "2019-09-03T16:34:46.000Z"
3347+
* @example 2019-09-03T16:34:46.000Z
33483348
*/
33493349
updated_at?: string;
33503350
}
@@ -3372,7 +3372,7 @@ export interface external {
33723372
/**
33733373
* Format: date-time
33743374
* @description Time the billing history entry occurred.
3375-
* @example "2018-06-01T08:44:38.000Z"
3375+
* @example 2018-06-01T08:44:38.000Z
33763376
*/
33773377
date?: string;
33783378
/**
@@ -3425,12 +3425,12 @@ export interface external {
34253425
duration_unit?: string;
34263426
/**
34273427
* @description Time the invoice item began to be billed for usage.
3428-
* @example "2020-01-01T00:00:00.000Z"
3428+
* @example 2020-01-01T00:00:00.000Z
34293429
*/
34303430
start_time?: string;
34313431
/**
34323432
* @description Time the invoice item stopped being billed for usage.
3433-
* @example "2020-02-01T00:00:00.000Z"
3433+
* @example 2020-02-01T00:00:00.000Z
34343434
*/
34353435
end_time?: string;
34363436
/**
@@ -3457,7 +3457,7 @@ export interface external {
34573457
invoice_period?: string;
34583458
/**
34593459
* @description Time the invoice was last updated. This is only included with the invoice preview.
3460-
* @example "2020-01-23T06:31:50.000Z"
3460+
* @example 2020-01-23T06:31:50.000Z
34613461
*/
34623462
updated_at?: string;
34633463
}
@@ -3981,7 +3981,7 @@ export interface external {
39813981
/**
39823982
* Format: date-time
39833983
* @description A time value given in ISO8601 combined date and time format that represents the certificate's expiration date.
3984-
* @example "2017-02-22T00:23:00.000Z"
3984+
* @example 2017-02-22T00:23:00.000Z
39853985
*/
39863986
not_after?: string;
39873987
/**
@@ -3992,7 +3992,7 @@ export interface external {
39923992
/**
39933993
* Format: date-time
39943994
* @description A time value given in ISO8601 combined date and time format that represents when the certificate was created.
3995-
* @example "2017-02-08T16:02:37.000Z"
3995+
* @example 2017-02-08T16:02:37.000Z
39963996
*/
39973997
created_at?: string;
39983998
/**
@@ -5179,7 +5179,7 @@ export interface external {
51795179
/**
51805180
* Format: date-time
51815181
* @description A time value given in ISO8601 combined date and time format at which the backup was created.
5182-
* @example "2019-01-31T19:25:22.000Z"
5182+
* @example 2019-01-31T19:25:22.000Z
51835183
*/
51845184
created_at: string;
51855185
/**
@@ -5261,7 +5261,7 @@ export interface external {
52615261
/**
52625262
* Format: date-time
52635263
* @description The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
5264-
* @example "2019-01-31T19:25:22.000Z"
5264+
* @example 2019-01-31T19:25:22.000Z
52655265
*/
52665266
backup_created_at?: string;
52675267
}
@@ -5330,7 +5330,7 @@ export interface external {
53305330
/**
53315331
* Format: date-time
53325332
* @description A time value given in ISO8601 combined date and time format that represents when the database cluster was created.
5333-
* @example "2019-01-11T18:37:36.000Z"
5333+
* @example 2019-01-11T18:37:36.000Z
53345334
*/
53355335
created_at?: string;
53365336
/**
@@ -5503,7 +5503,7 @@ export interface external {
55035503
/**
55045504
* Format: date-time
55055505
* @description A time value given in ISO8601 combined date and time format that represents when the database cluster was created.
5506-
* @example "2019-01-11T18:37:36.000Z"
5506+
* @example 2019-01-11T18:37:36.000Z
55075507
*/
55085508
created_at?: string;
55095509
/**
@@ -5596,7 +5596,7 @@ export interface external {
55965596
/**
55975597
* Format: date-time
55985598
* @description A time value given in ISO8601 combined date and time format that represents when the firewall rule was created.
5599-
* @example "2019-01-11T18:37:36.000Z"
5599+
* @example 2019-01-11T18:37:36.000Z
56005600
*/
56015601
created_at?: string;
56025602
}
@@ -5765,7 +5765,7 @@ export interface external {
57655765
status?: "running" | "canceled" | "error" | "done";
57665766
/**
57675767
* @description The time the migration was initiated, in ISO 8601 format.
5768-
* @example "2020-10-29T15:57:38.000Z"
5768+
* @example 2020-10-29T15:57:38.000Z
57695769
*/
57705770
created_at?: string;
57715771
}
@@ -7426,7 +7426,7 @@ export interface external {
74267426
/**
74277427
* Format: date-time
74287428
* @description A time value given in ISO8601 combined date and time format indicating when the requested action was completed.
7429-
* @example "2020-04-01T18:11:49.000Z"
7429+
* @example 2020-04-01T18:11:49.000Z
74307430
*/
74317431
completed_at?: string;
74327432
/**
@@ -7466,7 +7466,7 @@ export interface external {
74667466
/**
74677467
* Format: date-time
74687468
* @description A time value given in ISO8601 combined date and time format indicating when the resource was destroyed if the request was successful.
7469-
* @example "2020-04-01T18:11:49.000Z"
7469+
* @example 2020-04-01T18:11:49.000Z
74707470
*/
74717471
destroyed_at?: string;
74727472
/**
@@ -9124,12 +9124,12 @@ export interface external {
91249124
namespace?: string;
91259125
/**
91269126
* @description UTC time string.
9127-
* @example "2022-09-14T04:16:45.000Z"
9127+
* @example 2022-09-14T04:16:45.000Z
91289128
*/
91299129
created_at?: string;
91309130
/**
91319131
* @description UTC time string.
9132-
* @example "2022-09-14T04:16:45.000Z"
9132+
* @example 2022-09-14T04:16:45.000Z
91339133
*/
91349134
updated_at?: string;
91359135
/**
@@ -9194,24 +9194,24 @@ export interface external {
91949194
is_enabled?: boolean;
91959195
/**
91969196
* @description UTC time string.
9197-
* @example "2022-11-11T04:16:45.000Z"
9197+
* @example 2022-11-11T04:16:45.000Z
91989198
*/
91999199
created_at?: string;
92009200
/**
92019201
* @description UTC time string.
9202-
* @example "2022-11-11T04:16:45.000Z"
9202+
* @example 2022-11-11T04:16:45.000Z
92039203
*/
92049204
updated_at?: string;
92059205
scheduled_details?: external["resources/functions/models/scheduled_details.yml"];
92069206
scheduled_runs?: {
92079207
/**
92089208
* @description Indicates last run time. null value indicates trigger not run yet.
9209-
* @example "2022-11-11T04:16:45.000Z"
9209+
* @example 2022-11-11T04:16:45.000Z
92109210
*/
92119211
last_run_at?: string | null;
92129212
/**
92139213
* @description Indicates next run time. null value indicates trigger will not run.
9214-
* @example "2022-11-11T04:16:45.000Z"
9214+
* @example 2022-11-11T04:16:45.000Z
92159215
*/
92169216
next_run_at?: string | null;
92179217
};
@@ -9606,7 +9606,7 @@ export interface external {
96069606
/**
96079607
* Format: date-time
96089608
* @description A time value given in ISO8601 combined date and time format that represents when the image was created.
9609-
* @example "2020-05-04T22:23:02.000Z"
9609+
* @example 2020-05-04T22:23:02.000Z
96109610
*/
96119611
created_at?: string;
96129612
/**
@@ -10667,7 +10667,7 @@ export interface external {
1066710667
/**
1066810668
* Format: date-time
1066910669
* @description A time value given in ISO8601 combined date and time format that represents when the access token expires.
10670-
* @example "2019-11-09T11:50:28.889Z"
10670+
* @example 2019-11-09T11:50:28.889Z
1067110671
*/
1067210672
expires_at?: string;
1067310673
}
@@ -12587,13 +12587,13 @@ export interface external {
1258712587
/**
1258812588
* Format: date-time
1258912589
* @description The time the garbage collection was created.
12590-
* @example "2020-10-30T21:03:24.000Z"
12590+
* @example 2020-10-30T21:03:24.000Z
1259112591
*/
1259212592
created_at?: string;
1259312593
/**
1259412594
* Format: date-time
1259512595
* @description The time the garbage collection was last updated.
12596-
* @example "2020-10-30T21:03:44.000Z"
12596+
* @example 2020-10-30T21:03:44.000Z
1259712597
*/
1259812598
updated_at?: string;
1259912599
/**
@@ -14774,7 +14774,7 @@ export interface external {
1477414774
size_gigabytes?: number;
1477514775
/**
1477614776
* @description A time value given in ISO8601 combined date and time format that represents when the block storage volume was created.
14777-
* @example "2020-03-02T17:00:49.000Z"
14777+
* @example 2020-03-02T17:00:49.000Z
1477814778
*/
1477914779
created_at?: string;
1478014780
tags?: external["shared/attributes/tags_array.yml"];

0 commit comments

Comments
 (0)