-
Notifications
You must be signed in to change notification settings - Fork 3
/
mockoon_environment.json
153 lines (153 loc) · 11.2 KB
/
mockoon_environment.json
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"source": "mockoon:1.7.0",
"data": [
{
"type": "environment",
"item": {
"uuid": "",
"name": "personalInsuranceFlutter",
"endpointPrefix": "personalInsuranceFlutter",
"latency": 1000,
"port": 3000,
"routes": [
{
"uuid": "",
"documentation": "AccountInfoDto",
"method": "get",
"endpoint": "getAccountInfo",
"responses": [
{
"uuid": "",
"statusCode": "200",
"latency": 0,
"filePath": "",
"sendFileAsBody": false,
"headers": [
{
"key": "",
"value": ""
}
],
"body": "{\n \"content\": {\n \"owner\": {\n \"name\": \"Wojciech\",\n \"surname\": \"Kuroczycki\",\n \"sex\": \"M\",\n \"email\": \"wojciech.kuroczycki@altkomsoftware.pl\",\n \"shoe\": \"43\"\n }\n }\n}",
"rules": [],
"label": ""
}
],
"enabled": true
},
{
"uuid": "",
"documentation": "List<ProductDto>",
"method": "get",
"endpoint": "getProducts",
"responses": [
{
"uuid": "",
"statusCode": "200",
"latency": 0,
"filePath": "",
"sendFileAsBody": false,
"headers": [
{
"key": "",
"value": ""
}
],
"body": "{\n \"content\":[\n \n {\n \"code\": \"BIRB\",\n \"name\": \"Avian\",\n \"type\": \"PET\",\n \"rate\": 250.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": false\n },\n {\n \"code\": \"MAMM\",\n \"name\": \"Mammal\",\n \"type\": \"PET\",\n \"rate\": 200.0,\n \"coverList\": [\"C001\",\"C002\",\"C003\"],\n \"special\": true\n },\n {\n \"code\": \"REPT\",\n \"name\": \"Reptile\",\n \"type\": \"PET\",\n \"rate\": 175.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": true\n },\n {\n \"code\": \"AMPH\",\n \"name\": \"Amphibian\",\n \"type\": \"PET\",\n \"rate\": 150.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": false\n },\n {\n \"code\": \"FISH\",\n \"name\": \"Fish\",\n \"type\": \"PET\",\n \"rate\": 100.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": false\n },\n {\n \"code\": \"ARAC\",\n \"name\": \"Arachnid\",\n \"type\": \"PET\",\n \"rate\": 100.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": false\n } ,\n {\n \"code\": \"INSE\",\n \"name\": \"Insect\",\n \"type\": \"PET\",\n \"rate\": 75.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": false\n } ,\n {\n \"code\": \"ROCK\",\n \"name\": \"Rock\",\n \"type\": \"PET\",\n \"rate\": 60.0,\n \"coverList\": [\"C001\",\"C004\",\"C005\"],\n \"special\": false\n } \n ]\n}",
"rules": [],
"label": ""
}
],
"enabled": true
},
{
"uuid": "",
"documentation": "",
"method": "get",
"endpoint": "getDicts",
"responses": [
{
"uuid": "",
"statusCode": "200",
"latency": 0,
"filePath": "",
"sendFileAsBody": false,
"headers": [
{
"key": "",
"value": ""
}
],
"body": "{\r\n \"COVER\": [\r\n {\r\n \"code\": \"C001\",\r\n \"name\": \"Birds of prey\"\r\n },\r\n {\r\n \"code\": \"C002\",\r\n \"name\": \"Coyotes\"\r\n },\r\n {\r\n \"code\": \"C003\",\r\n \"name\": \"Crab people\"\r\n },\r\n {\r\n \"code\": \"C004\",\r\n \"name\": \"Bigger lizards\"\r\n },\r\n {\r\n \"code\": \"C005\",\r\n \"name\": \"Uncultured mushrooms\"\r\n },\r\n {\r\n \"code\": \"C006\",\r\n \"name\": \"Tail jettison\"\r\n },\r\n {\r\n \"code\": \"C007\",\r\n \"name\": \"Bad roaches\"\r\n },\r\n {\r\n \"code\": \"C008\",\r\n \"name\": \"Bad puns\"\r\n },\r\n {\r\n \"code\": \"C009\",\r\n \"name\": \"Peer pressure\"\r\n },\r\n {\r\n \"code\": \"C010\",\r\n \"name\": \"Meatloaf\"\r\n },\r\n {\r\n \"code\": \"C011\",\r\n \"name\": \"Cable biting\"\r\n }\r\n\t],\r\n\t\"SEX\": [\r\n\t {\r\n\t \"code\": \"M\",\r\n\t \"name\": \"Male\"\r\n\t },\r\n\t {\r\n\t \"code\": \"F\",\r\n\t \"name\": \"Female\"\r\n\t },\r\n\t {\r\n\t \"code\": \"?\",\r\n\t \"name\": \"Other\"\r\n\t }\r\n\t ],\r\n\t\"PRODUCT_TYPE\": [\r\n {\r\n \"code\": \"LIFE\",\r\n \"name\": \"Life\"\r\n },\r\n {\r\n \"code\": \"TRAVEL\",\r\n \"name\": \"Travel\"\r\n },\r\n {\r\n \"code\": \"MEDI\",\r\n \"name\": \"Healthcare\"\r\n },\r\n {\r\n \"code\": \"PET\",\r\n \"name\": \"Pet\"\r\n }\r\n\t],\r\n\t\"REPTILE_SPECIES\": [\r\n {\r\n \"code\": \"BD\",\r\n \"name\": \"Bearded Dragon\"\r\n },\r\n {\r\n \"code\": \"SNEK\",\r\n \"name\": \"Long Snek\"\r\n },\r\n {\r\n \"code\": \"MMG\",\r\n \"name\": \"Mustacchioed Monaco Gecko\"\r\n },\r\n {\r\n \"code\": \"DOGE\",\r\n \"name\": \"Dog in a suit\"\r\n }\r\n\t]\r\n}",
"rules": [],
"label": ""
}
],
"enabled": true
},
{
"uuid": "",
"documentation": "List<PolicyDto>",
"method": "get",
"endpoint": "getPolicies",
"responses": [
{
"uuid": "",
"statusCode": "200",
"latency": 0,
"filePath": "",
"sendFileAsBody": false,
"headers": [
{
"key": "",
"value": ""
}
],
"body": "{\n \"content\": [\n {\n \"number\": \"P0001AZN\",\n \"rate\": 200.0,\n \"validFrom\": \"2018-02-01\",\n \"validTo\": \"2019-12-07\",\n \"covers\": [\"C001\",\"C002\", \"C003\"],\n \"type\": \"TRAVEL\"\n },\n \n {\n \"number\": \"P0002AZZ\",\n \"rate\": 200.0,\n \"validFrom\": \"2020-01-01\",\n \"validTo\": \"2021-01-01\",\n \"covers\": [\"C001\",\"C002\"],\n \"type\": \"MEDI\"\n },\n \n {\n \"number\": \"P0003AZZ\",\n \"rate\": 200.0,\n \"validFrom\": \"2018-02-01\",\n \"validTo\": \"2020-03-01\",\n \"covers\": [\"C001\",\"C002\"],\n \"type\": \"LIFE\"\n },\n \n {\n \"number\": \"P0001AZZ\",\n \"rate\": 200.0,\n \"validFrom\": \"2018-02-16\",\n \"validTo\": \"2019-10-15\",\n \"covers\": [\"C001\",\"C002\"],\n \"type\": \"PET\"\n }\n ]\n}",
"rules": [],
"label": ""
}
],
"enabled": true
},
{
"uuid": "",
"documentation": "CalculationResultDto",
"method": "get",
"endpoint": "calculatePremium",
"responses": [
{
"uuid": "",
"body": "{\n \"content\": {\n \"premium\": {{float 100.00 10000.00 '0.00'}}\n }\n}",
"latency": 0,
"statusCode": "200",
"headers": [
{
"key": "",
"value": ""
}
],
"filePath": "",
"sendFileAsBody": false,
"rules": [],
"label": ""
}
],
"enabled": true
}
],
"proxyMode": false,
"proxyHost": "",
"https": false,
"cors": true,
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"lastMigration": 9
}
}
]
}