-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefaults.json
More file actions
executable file
·43 lines (43 loc) · 950 Bytes
/
Copy pathdefaults.json
File metadata and controls
executable file
·43 lines (43 loc) · 950 Bytes
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
{
"vars": {
"app": {
"name": "json2server",
"version": "0.1.29"
},
"errors": {
"400": {
"{{defKey}}": "Invalid inputs.",
"status": 400
},
"404": {
"{{defKey}}": "Invalid request route.",
"status": 404
},
"405": {
"{{defKey}}": "Method not allowed.",
"status": 405
},
"408": {
"{{defKey}}": "It taking huge time to evaluate request. Time out. Aborted.",
"status": 408
},
"500": {
"{{defKey}}": "An unknown error has been occurred. Please contact at {{contactEmail}}",
"status": 500
},
"inval": {
"{{defKey}}": "Request parameter was invalid.",
"status": 400
}
},
"contactEmail": "mail@yourdomain.com",
"defTimeout": 18000,
"defKey": "_"
},
"root": {
"$": {
"name": "{{app.name}}",
"version": "{{app.version}}"
}
}
}