@nestjs/swagger
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@nestjs/swagger", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
@@ -11,4 +11,3 @@ "use strict"; | ||
static setup(path, app, document) { | ||
const { express } = app; | ||
express.use(path, swaggerUi.serve, swaggerUi.setup(document)); | ||
app.use(path, swaggerUi.serve, swaggerUi.setup(document)); | ||
} | ||
@@ -15,0 +14,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42582
903