@mimik/init 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The `return` object has the following strucuture:
|
|
|
34
34
|
```
|
|
35
35
|
For the preOps, postOps and exitOps the function are executed with 3 parameters (correlationId, config, server).
|
|
36
36
|
The following routes are reserved: `/healthcheck` and `/metrics`.
|
|
37
|
-
The base path is defined by taking the url property of the first item of the servers array in the api defintion file. Only relative url address will be handled (e.g. /mss/v1) and
|
|
37
|
+
The base path is defined by taking the url property of the first item of the servers array in the api defintion file. Only relative url address will be handled (e.g. /mss/v1) and templates in the url are not allowed.
|
|
38
38
|
|
|
39
39
|
| Param | Type | Description |
|
|
40
40
|
| --- | --- | --- |
|
package/index.js
CHANGED
|
@@ -62,7 +62,7 @@ const {
|
|
|
62
62
|
* ```
|
|
63
63
|
* For the preOps, postOps and exitOps the function are executed with 3 parameters (correlationId, config, server).
|
|
64
64
|
* The following routes are reserved: `/healthcheck` and `/metrics`.
|
|
65
|
-
* The base path is defined by taking the url property of the first item of the servers array in the api defintion file. Only relative url address will be handled (e.g. /mss/v1) and
|
|
65
|
+
* The base path is defined by taking the url property of the first item of the servers array in the api defintion file. Only relative url address will be handled (e.g. /mss/v1) and templates in the url are not allowed.
|
|
66
66
|
*/
|
|
67
67
|
module.exports = (app, rootDir, config, validates, cluster, options) => {
|
|
68
68
|
const fatalError = (error, correlationId) => {
|