Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit e5143ba

Browse files
author
nobody
committed
Merge branch 'production'
2 parents 0a5e92b + bf7bfd2 commit e5143ba

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

config/v3/proposal/receive.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@
6464
"properties": {
6565
"high_barrier": {
6666
"description": "High barrier calculated based on current spot",
67-
"type": "number",
67+
"type": "string",
68+
"pattern": "^[+-]?[0-9]+\\.?[0-9]*$",
6869
"examples": [
69-
4.9358253e-05
70+
42.123
7071
]
7172
},
7273
"last_tick_epoch": {
@@ -75,9 +76,10 @@
7576
},
7677
"low_barrier": {
7778
"description": "Low barrier calculated based on current spot",
78-
"type": "number",
79+
"type": "string",
80+
"pattern": "^[+-]?[0-9]+\\.?[0-9]*$",
7981
"examples": [
80-
4.9358253e-05
82+
42.123
8183
]
8284
},
8385
"maximum_payout": {

config/v3/set_settings/receive.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,31 @@
1010
"properties": {
1111
"set_settings": {
1212
"title": "set_settings",
13-
"description": "1 on success",
14-
"type": "integer"
13+
"description": "Returns notification with proper code and message_to_client",
14+
"type": "object",
15+
"additionalProperties": false,
16+
"required": [
17+
"notification"
18+
],
19+
"properties": {
20+
"notification": {
21+
"description": "Notification message to display on special occasions",
22+
"type": [
23+
"null",
24+
"object"
25+
],
26+
"properties": {
27+
"code": {
28+
"description": "Code which is unique for certain scenarios",
29+
"type": "string"
30+
},
31+
"message_to_client": {
32+
"description": "Message to show to client",
33+
"type": "string"
34+
}
35+
}
36+
}
37+
}
1538
},
1639
"echo_req": {
1740
"description": "Echo of the request made.",

0 commit comments

Comments
 (0)