Skip to content

Commit 4f8192a

Browse files
committed
update status explanation with link to mozilla documentation
1 parent 21c7f26 commit 4f8192a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/openapi-fetch/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,12 @@ All methods return an object with **data**, **error**, **status** and **response
167167
const { data, error, status, response } = await client.GET("/url");
168168
```
169169

170-
| Object | Response |
171-
| :--------- | :-------------------------------------------------------------------------------------------------------------------------- |
172-
| `data` | `2xx` response if OK; otherwise `undefined` |
173-
| `error` | `5xx`, `4xx`, or `default` response if not OK; otherwise `undefined` |
174-
| `status` | HTTP status code of the response (`response.status`) |
175-
| `response` | [The original Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) which contains `status`, `headers`, etc. |
170+
| Object | Response |
171+
|:-----------|:------------------------------------------------------------------------------------------------------------------------------|
172+
| `data` | `2xx` response if OK; otherwise `undefined` |
173+
| `error` | `5xx`, `4xx`, or `default` response if not OK; otherwise `undefined` |
174+
| `status` | The HTTP response status code of [the original response](https://developer.mozilla.org/en-US/docs/Web/API/Response/status) |
175+
| `response` | [The original Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) which contains `status`, `headers`, etc. |
176176

177177
### Path-property style
178178

0 commit comments

Comments
 (0)