26 lines
450 B
JSON
26 lines
450 B
JSON
{
|
|
"host": "0.0.0.0",
|
|
"port": 3000,
|
|
"routes": [
|
|
{
|
|
"path": "/",
|
|
"response_file": "response.json",
|
|
"status_code": 200
|
|
},
|
|
{
|
|
"path": "/api/test",
|
|
"response_file": "response.json",
|
|
"status_code": 201
|
|
}
|
|
],
|
|
"masking": {
|
|
"enabled": true,
|
|
"headers": ["authorization", "x-api-key", "cookie"]
|
|
},
|
|
"tls": {
|
|
"enabled": false,
|
|
"cert_path": "cert.pem",
|
|
"key_path": "key.pem"
|
|
}
|
|
}
|