Skip to content

Commit d1e9e82

Browse files
committed
update readme
1 parent 2c69963 commit d1e9e82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ npx openapi-typescript https://petstore.swagger.io/v2/swagger.json --output pets
2525
```ts
2626
import 'whatwg-fetch'
2727

28+
import { Fetcher } from 'openapi-typescript-fetch'
29+
2830
import { paths } from './petstore'
2931

32+
// declare fetcher for paths
3033
const fetcher = Fetcher.for<paths>()
3134

3235
// global configuration

0 commit comments

Comments
 (0)