@nestjs/swagger
Advanced tools
Comparing version 4.0.2 to 4.0.3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const typescript_1 = require("typescript"); | ||
const decorators_1 = require("../../decorators"); | ||
const plugin_constants_1 = require("../plugin-constants"); | ||
function isArray(type) { | ||
@@ -82,2 +84,6 @@ const symbol = type.getSymbol(); | ||
const callExpression = decorator.expression; | ||
if (callExpression.escapedText === | ||
`${plugin_constants_1.OPENAPI_NAMESPACE}.${decorators_1.ApiResponse.name}`) { | ||
return undefined; | ||
} | ||
return getIdentifierFromName(callExpression.expression).getText(); | ||
@@ -84,0 +90,0 @@ } |
{ | ||
"name": "@nestjs/swagger", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)", | ||
@@ -39,3 +39,3 @@ "author": "Kamil Mysliwiec", | ||
"ts-jest": "24.2.0", | ||
"typescript": "3.7.2" | ||
"typescript": "3.7.3" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
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
152163
2934