You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/openapi-fetch/api.md
+1
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ client.GET("/my-url", options);
36
36
|`querySerializer`| QuerySerializer | (optional) Provide a [querySerializer](#queryserializer)|
37
37
|`bodySerializer`| BodySerializer | (optional) Provide a [bodySerializer](#bodyserializer)|
38
38
|`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/")|
39
40
|`fetch`|`fetch`| Fetch instance used for requests (default: fetch from `createClient`) |
0 commit comments