Update index.js
Browse files
index.js
CHANGED
@@ -85,7 +85,11 @@ const swaggerOptions = {
|
|
85 |
{ name: "AI" }
|
86 |
]
|
87 |
},
|
88 |
-
apis: [
|
|
|
|
|
|
|
|
|
89 |
};
|
90 |
|
91 |
const specs = swaggerJsDoc(swaggerOptions);
|
|
|
85 |
{ name: "AI" }
|
86 |
]
|
87 |
},
|
88 |
+
apis: [
|
89 |
+
"./routes/*.js",
|
90 |
+
"./plugins/*.js",
|
91 |
+
"./routes/*.route.js"
|
92 |
+
]
|
93 |
};
|
94 |
|
95 |
const specs = swaggerJsDoc(swaggerOptions);
|