Skip to content

Commit ce1961e

Browse files
committed
chore: actually fix link
1 parent cf6ed8b commit ce1961e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/openapi-fetch/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ createClient<paths>(options);
1919
| `fetch` | `fetch` | Fetch instance used for requests (default: `globalThis.fetch`) |
2020
| `querySerializer` | QuerySerializer | (optional) Provide a [querySerializer](#queryserializer) |
2121
| `bodySerializer` | BodySerializer | (optional) Provide a [bodySerializer](#bodyserializer) |
22-
| `pathSerializer` | PathSerializer | (optional) Provide a [pathSerializer](#pathserialization) |
22+
| `pathSerializer` | PathSerializer | (optional) Provide a [pathSerializer](#pathserializer) |
2323
| (Fetch options) | | Any valid fetch option (`headers`, `mode`, `cache`, `signal` …) ([docs](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) |
2424

2525
## Fetch options
@@ -36,9 +36,9 @@ client.GET("/my-url", options);
3636
| `body` | `{ [name]:value }` | [requestBody](https://spec.openapis.org/oas/latest.html#request-body-object) data for the endpoint |
3737
| `querySerializer` | QuerySerializer | (optional) Provide a [querySerializer](#queryserializer) |
3838
| `bodySerializer` | BodySerializer | (optional) Provide a [bodySerializer](#bodyserializer) |
39-
| `pathSerializer` | PathSerializer | (optional) Provide a [pathSerializer](#pathserialization) |
39+
| `pathSerializer` | PathSerializer | (optional) Provide a [pathSerializer](#pathserializer) |
4040
| `parseAs` | `"json"` \| `"text"` \| `"arrayBuffer"` \| `"blob"` \| `"stream"` | (optional) Parse the response using [a built-in instance method](https://developer.mozilla.org/en-US/docs/Web/API/Response#instance_methods) (default: `"json"`). `"stream"` skips parsing altogether and returns the raw stream. |
41-
| `baseUrl` | `string` | Prefix the fetch URL with this option (e.g. `"https://myapi.dev/v1/"`) |
41+
| `baseUrl` | `string` | Prefix the fetch URL with this option (e.g. `"https://myapi.dev/v1/"`) |
4242
| `fetch` | `fetch` | Fetch instance used for requests (default: fetch from `createClient`) |
4343
| `middleware` | `Middleware[]` | [See docs](/openapi-fetch/middleware-auth) |
4444
| (Fetch options) | | Any valid fetch option (`headers`, `mode`, `cache`, `signal`, …) ([docs](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options)) |

0 commit comments

Comments
 (0)