Skip to content

Commit 024a8f4

Browse files
committed
chore: update docs
1 parent 1951228 commit 024a8f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/openapi-fetch/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ client.GET("/my-url", options);
3636
| `querySerializer` | QuerySerializer | (optional) Provide a [querySerializer](#queryserializer) |
3737
| `bodySerializer` | BodySerializer | (optional) Provide a [bodySerializer](#bodyserializer) |
3838
| `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. |
39+
| `baseUrl` | `string` | Prefix the fetch URL with this option (e.g. "https://myapi.dev/v1/") |
3940
| `fetch` | `fetch` | Fetch instance used for requests (default: fetch from `createClient`) |
4041
| `middleware` | `Middleware[]` | [See docs](/openapi-fetch/middleware-auth) |
4142
| (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)