Skip to content

Commit 7588491

Browse files
committed
doc/schemas: add websocket to type in doc/schemas/notification/connect.json
This is done by tests/test_connection.py::test_websocket: ``` { "jsonrpc": "2.0", "method": "connect", "params": { "connect": { "id": "031b84c5567b126440995d3ed5aaba0565d71e1834604819ff9c17f5e9d5dd078f", "direction": "in", "address": { "type": "websocket", "subtype": "ipv4", "address": "127.0.0.1", "port": 59412 } } } } ``` Signed-off-by: Rusty Russell <[email protected]>
1 parent 5994887 commit 7588491

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

contrib/msggen/msggen/schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35958,7 +35958,8 @@
3595835958
"ipv4",
3595935959
"ipv6",
3596035960
"torv2",
35961-
"torv3"
35961+
"torv3",
35962+
"websocket"
3596235963
],
3596335964
"description": [
3596435965
"Type of connection (*torv2*/*torv3* only if **direction** is *out*)"

doc/schemas/notification/connect.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"ipv4",
5454
"ipv6",
5555
"torv2",
56-
"torv3"
56+
"torv3",
57+
"websocket"
5758
],
5859
"description": [
5960
"Type of connection (*torv2*/*torv3* only if **direction** is *out*)"

0 commit comments

Comments
 (0)