Skip to content

Commit f1d5cd7

Browse files
committed
add local+remote
1 parent c73f55f commit f1d5cd7

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

api-playground/asyncapi/setup.mdx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,21 @@ You can add an `asyncapi` field to any tab or group in the navigation of your `d
1818

1919
**Examples with Tabs:**
2020

21-
```json {5}
21+
<CodeGroup>
22+
23+
```json Local File {5}
24+
"navigation": {
25+
"tabs": [
26+
{
27+
"tab": "API Reference",
28+
"asyncapi": "/path/to/asyncapi.json"
29+
}
30+
]
31+
}
32+
33+
```
34+
35+
```json Remote URL {5}
2236
"navigation": {
2337
"tabs": [
2438
{
@@ -29,6 +43,8 @@ You can add an `asyncapi` field to any tab or group in the navigation of your `d
2943
}
3044
```
3145

46+
</CodeGroup>
47+
3248
**Examples with Groups:**
3349

3450
```json {8-11}

0 commit comments

Comments
 (0)