sprint-es 0.0.67 → 0.0.68
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/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -168,7 +168,7 @@ class Sprint {
|
|
|
168
168
|
import("swagger-ui-express").then((swaggerUi) => {
|
|
169
169
|
console.log(`[Sprint] Swagger UI imported successfully`);
|
|
170
170
|
this.app.use("/swagger", swaggerUi.serve);
|
|
171
|
-
this.app.
|
|
171
|
+
this.app.get("/swagger", swaggerUi.setup(void 0, {
|
|
172
172
|
swaggerUrl: "/openapi.json"
|
|
173
173
|
}));
|
|
174
174
|
console.log(`[Sprint] Swagger UI mounted at /swagger`);
|
package/dist/esm/index.js
CHANGED
|
@@ -143,7 +143,7 @@ class Sprint {
|
|
|
143
143
|
import("swagger-ui-express").then((swaggerUi) => {
|
|
144
144
|
console.log(`[Sprint] Swagger UI imported successfully`);
|
|
145
145
|
this.app.use("/swagger", swaggerUi.serve);
|
|
146
|
-
this.app.
|
|
146
|
+
this.app.get("/swagger", swaggerUi.setup(void 0, {
|
|
147
147
|
swaggerUrl: "/openapi.json"
|
|
148
148
|
}));
|
|
149
149
|
console.log(`[Sprint] Swagger UI mounted at /swagger`);
|