-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhummock.json.schema
64 lines (63 loc) · 1.78 KB
/
hummock.json.schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ProxyProvider": {
"enum": [
"talkback",
"wiremock"
],
"type": "string"
},
"ServerForRecordDto": {
"properties": {
"host": {
"description": "Remote server host which should be recorded (absolute url which must start with http:// of https://)",
"type": "string"
},
"port": {
"description": "Local proxy listener port",
"type": "number"
}
},
"type": "object"
},
"WiremockConfigDto": {
"properties": {
"version": {
"default": "2.26.3",
"description": "Sets wiremock version",
"type": "string"
}
},
"type": "object"
}
},
"properties": {
"autostart": {
"default": false,
"description": "Start all proxies while app launches",
"type": "boolean"
},
"gui": {
"default": true,
"description": "Enable gui interface",
"type": "boolean"
},
"provider": {
"$ref": "#/definitions/ProxyProvider",
"default": "talkback",
"description": "Sets which provider to use",
"type": "string"
},
"recordFrom": {
"items": {
"$ref": "#/definitions/ServerForRecordDto"
},
"type": "array"
},
"wiremock": {
"$ref": "#/definitions/WiremockConfigDto"
}
},
"type": "object"
}