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.
@@ -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.use("/swagger", swaggerUi.setup(void 0, {
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.use("/swagger", swaggerUi.setup(void 0, {
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`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprint-es",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "Sprint - Quickly API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",