zyket 1.0.50 → 1.0.51
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/package.json
CHANGED
|
@@ -37,7 +37,6 @@ module.exports = class Express extends Service {
|
|
|
37
37
|
// Swagger setup
|
|
38
38
|
const swaggerOptions = {
|
|
39
39
|
...(await this.#loadSwaggerOrCreateDefault()),
|
|
40
|
-
apis: [path.join(process.cwd(), "src", "routes", "**", "*.js")],
|
|
41
40
|
};
|
|
42
41
|
|
|
43
42
|
const swaggerDocs = swaggerJsDoc(swaggerOptions);
|
|
@@ -220,7 +219,8 @@ module.exports = class Express extends Service {
|
|
|
220
219
|
servers: [
|
|
221
220
|
{ url: `http://localhost:3000` }
|
|
222
221
|
],
|
|
223
|
-
}
|
|
222
|
+
},
|
|
223
|
+
apis: [path.join(process.cwd(), "src", "routes", "**", "*.js")]
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
226
|
return swaggerOptions;
|