We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0295362 commit 306575cCopy full SHA for 306575c
docs/openapi-fetch/middleware-auth.md
@@ -13,7 +13,7 @@ Each middleware can provide `onRequest()`, `onResponse()` and `onError` callback
13
::: code-group
14
15
```ts [src/my-project.ts]
16
-import createClient from "openapi-fetch";
+import createClient, { Middleware } from "openapi-fetch";
17
import type { paths } from "./my-openapi-3-schema"; // generated by openapi-typescript
18
19
const myMiddleware: Middleware = {
0 commit comments