@shipworthy/openapi-fetch 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,10 +8,10 @@ A small, type-safe `fetch` wrapper for OpenAPI 3.x APIs. You give it the `paths`
|
|
|
8
8
|
bun add @shipworthy/openapi-fetch
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
To generate the `paths` type, install the CLI
|
|
11
|
+
To generate the `paths` type, install the CLI and its TypeScript generator as dev dependencies:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
bun add -d @shipworthy/openapi-cli @shipworthy/openapi-typescript
|
|
14
|
+
bun add -d @shipworthy/openapi-cli @shipworthy/openapi-typescript
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
These packages are build-time tooling; the fetch client has no runtime or peer dependencies.
|