10
10
# Submit request (As it will have transaction types as a requirement)
11
11
12
12
asyncapi : ' 2.6.0'
13
+ defaultContentType : application/json
14
+ id : urn:xrp-ledger:public-api-v2
15
+ tags :
16
+ - name : xrp-ledger
17
+ description : API related to XRP Ledger
13
18
info :
14
19
title : XRP Ledger Public API
20
+ contact :
21
+ name : Ripple Dev Support
22
+ url : https://ripple.com/contact
23
+
15
24
description : A WebSocket API used to query rippled.
16
25
license :
17
26
name : MIT License
@@ -36,25 +45,31 @@ channels:
36
45
# a channel where the api is 'subscribed'. This is changed in 3.0.0.
37
46
description : The root channel for sending requests and receiving responses.
38
47
subscribe :
48
+ operationId : subscribeToRoot
39
49
message :
40
50
oneOf :
41
51
- name : AccountChannelsRequest
52
+ messageId : AccountChannelsRequest
42
53
contentType : application/json
43
54
payload :
44
55
$ref : ' ./requests/account_channels_async_api.yaml#/components/schemas/AccountChannelsRequest'
45
56
- name : AccountInfoRequest
57
+ messageId : AccountInfoRequest
46
58
contentType : application/json
47
59
payload :
48
60
$ref : ' ./requests/account_info_async_api.yaml#/components/schemas/AccountInfoRequest'
49
61
# TODO: Add additional request types for individual requests here
50
62
publish :
63
+ operationId : publishToRoot
51
64
message :
52
65
oneOf :
53
66
- name : AccountChannelsResponse
67
+ messageId : AccountChannelsResponse
54
68
contentType : application/json
55
69
payload :
56
70
$ref : ' ./requests/account_channels_async_api.yaml#/components/schemas/AccountChannelsResponse'
57
71
- name : AccountInfoResponse
72
+ messageId : AccountInfoResponse
58
73
contentType : application/json
59
74
payload :
60
75
$ref : ' ./requests/account_info_async_api.yaml#/components/schemas/AccountInfoResponseV2'
0 commit comments