Skip to content

Commit e1c3d5d

Browse files
phk422drwpow
andauthored
Update packages/openapi-typescript/README.md
Co-authored-by: Drew Powers <drew@pow.rs>
1 parent 7f76e4b commit e1c3d5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/openapi-typescript/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ npx openapi-typescript https://myapi.dev/api/v1/openapi.yaml -o ./path/to/my/sch
6767
6868
Then in your TypeScript project, import types where needed:
6969

70-
```ts [src/my-project.ts]
70+
```ts
71+
```
7172
import type { paths, components } from "./my-openapi-3-schema"; // generated by openapi-typescript
7273

7374
// Schema Obj

0 commit comments

Comments
 (0)