Skip to content

Commit cc136d7

Browse files
committed
add playground page
1 parent b725cd5 commit cc136d7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Websockets Playground"
3+
description: "Enable users to interact with your websockets"
4+
---
5+
6+
Autogenerating pages from your AsyncAPI spec will create pages for each channel that display message data that can be sent and received. In the API Playground for websockets, you can connect to websocket servers to send and receive messages.
7+
8+
![](https://picsum.photos/600/400)
9+
(this should be a nice image of messages in the API playground)
10+
11+
The API Playground for websockets is enabled by default, but automatically disabled if security schemes are required in the schema. Learn more about playground settings [here](settings/global#param-playground).

docs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
"group": "AsyncAPI",
6969
"icon": "brackets-curly",
7070
"pages": [
71-
"api-playground/asyncapi/setup"
71+
"api-playground/asyncapi/setup",
72+
"api-playground/asyncapi/playground"
7273
]
7374

7475
},

0 commit comments

Comments
 (0)