Skip to content

Commit 2be6c1d

Browse files
authored
Update README.md (#1219)
1 parent 526ca76 commit 2be6c1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/openapi-typescript/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ First, generate a local type file by running `npx openapi-typescript`:
2323
# Local schema
2424
npx openapi-typescript ./path/to/my/schema.yaml -o ./path/to/my/schema.d.ts
2525
# 🚀 ./path/to/my/schema.yaml -> ./path/to/my/schema.d.ts [7ms]
26+
```
2627

28+
```bash
2729
# Remote schema
2830
npx openapi-typescript https://myapi.dev/api/v1/openapi.yaml -o ./path/to/my/schema.d.ts
2931
# 🚀 https://myapi.dev/api/v1/openapi.yaml -> ./path/to/my/schema.d.ts [250ms]

0 commit comments

Comments
 (0)