Skip to content

Commit c4150b4

Browse files
authored
Update examples (#1235)
1 parent 31c030d commit c4150b4

File tree

8 files changed

+6776
-3413
lines changed

8 files changed

+6776
-3413
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,11 @@ export interface external {
824824
* @example [email protected]
825825
*/
826826
email: string;
827+
/**
828+
* @description The display name for the current user.
829+
* @example Sammy the Shark
830+
*/
831+
name?: string;
827832
/**
828833
* @description The unique universal identifier for the current user.
829834
* @example b6fr89dbf6d9156cace5f3c78dc9851d957381ef

packages/openapi-typescript/examples/digital-ocean-api/resources/account/models/account.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ properties:
1616
type: string
1717
1818

19+
name:
20+
description: The display name for the current user.
21+
type: string
22+
example: Sammy the Shark
23+
1924
uuid:
2025
description: The unique universal identifier for the current user.
2126
type: string

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

Lines changed: 890 additions & 430 deletions
Large diffs are not rendered by default.

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

Lines changed: 2187 additions & 1227 deletions
Large diffs are not rendered by default.

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

Lines changed: 939 additions & 446 deletions
Large diffs are not rendered by default.

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

Lines changed: 2150 additions & 1210 deletions
Large diffs are not rendered by default.

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

Lines changed: 196 additions & 36 deletions
Large diffs are not rendered by default.

packages/openapi-typescript/examples/stripe-api.yaml

Lines changed: 404 additions & 64 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)