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/6.x/advanced.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Advanced usage and various topics.
11
11
12
12
Fetching data can be done simply and safely using an **automatically-typed fetch wrapper**:
13
13
14
-
-[openapi-fetch](./openapi-fetch) (recommended)
14
+
-[openapi-fetch](/openapi-fetch/) (recommended)
15
15
-[openapi-typescript-fetch](https://www.npmjs.com/package/openapi-typescript-fetch) by [@ajaishankar](https://github.com/ajaishankar)
16
16
17
17
::: tip
@@ -78,7 +78,7 @@ describe("My API test", () => {
78
78
79
79
:::
80
80
81
-
_Note: this example uses a vanilla `fetch()` function, but any fetch wrapper—including [openapi-fetch](/openapi-fetch)—could be dropped in instead without any changes._
81
+
_Note: this example uses a vanilla `fetch()` function, but any fetch wrapper—including [openapi-fetch](/openapi-fetch/)—could be dropped in instead without any changes._
82
82
83
83
And the magic that produces this would live in a `test/utils.ts` file that can be copy + pasted where desired (hidden for simplicity):
Copy file name to clipboardExpand all lines: docs/advanced.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Advanced usage and various topics.
11
11
12
12
Fetching data can be done simply and safely using an **automatically-typed fetch wrapper**:
13
13
14
-
-[openapi-fetch](./openapi-fetch) (recommended)
14
+
-[openapi-fetch](/openapi-fetch/) (recommended)
15
15
-[openapi-typescript-fetch](https://www.npmjs.com/package/openapi-typescript-fetch) by [@ajaishankar](https://github.com/ajaishankar)
16
16
17
17
::: tip
@@ -89,7 +89,7 @@ describe("My API test", () => {
89
89
90
90
:::
91
91
92
-
_Note: thisexampleusesavanilla`fetch()`function, but any fetch wrapper—including [openapi-fetch](/openapi-fetch)—could be dropped in instead without any changes._
92
+
_Note: thisexampleusesavanilla`fetch()`function, but any fetch wrapper—including [openapi-fetch](/openapi-fetch/)—could be dropped in instead without any changes._
93
93
94
94
And the magic that produces this would live in a `test/utils.ts` file that can be copy + pasted where desired (hiddenforsimplicity):
0 commit comments