@@ -38,24 +38,21 @@ app.listen(3000, () => {
38
38
});
39
39
```
40
40
41
- where ` <API-KEY> ` is the API key which can be generated from your [ apitoolkit.io] ( apitoolkit.io ) account
42
-
43
41
#### Quick overview of the configuration parameters
44
42
45
43
An object with the following optional fields can be passed to the middleware to configure it:
46
44
47
- {class="docs-table"} :::
48
- | Option | Description | | ------ | ----------- |
49
- | ` debug ` | Set to ` true ` to enable debug mode. |
50
- | ` serviceName ` | A defined string name of your application.|
51
- | ` tags ` | A list of defined tags for your services (used for grouping and filtering data on the dashboard). |
52
- | ` serviceVersion ` | A defined string version of your application (used for further debugging on the dashboard). |
53
- | ` redactHeaders ` | A list of HTTP header keys to redact. |
54
- | ` redactResponseBody ` | A list of JSONPaths from the response body to redact. |
55
- | ` redactRequestBody ` | A list of JSONPaths from the request body to redact. |
56
- | ` captureRequestBody ` | default ` false ` , set to true if you want to capture the request body. |
57
- | ` captureResponseBody ` | default ` false ` , set to true if you want to capture the response body. |
58
- :::
45
+ | Option | Description |
46
+ | ----------------------| -----------------------------------------------------------------------------------------------|
47
+ | ` debug ` | Set to ` true ` to enable debug mode. |
48
+ | ` serviceName ` | A defined string name of your application. |
49
+ | ` tags ` | A list of defined tags for your services (used for grouping and filtering data on the dashboard). |
50
+ | ` serviceVersion ` | A defined string version of your application (used for further debugging on the dashboard). |
51
+ | ` redactHeaders ` | A list of HTTP header keys to redact. |
52
+ | ` redactResponseBody ` | A list of JSONPaths from the response body to redact. |
53
+ | ` redactRequestBody ` | A list of JSONPaths from the request body to redact. |
54
+ | ` captureRequestBody ` | Default ` false ` , set to ` true ` if you want to capture the request body. |
55
+ | ` captureResponseBody ` | Default ` false ` , set to ` true ` if you want to capture the response body. |
59
56
60
57
<br />
61
58
0 commit comments