@nestjs/swagger
Advanced tools
Comparing version 5.1.3 to 5.1.4
@@ -220,7 +220,8 @@ "use strict"; | ||
getVersionMetadata(metatype, versioningOptions) { | ||
return (versioningOptions === null || versioningOptions === void 0 ? void 0 : versioningOptions.type) === common_1.VersioningType.URI | ||
? Reflect.getMetadata(constants_1.VERSION_METADATA, metatype) | ||
: undefined; | ||
var _a; | ||
if ((versioningOptions === null || versioningOptions === void 0 ? void 0 : versioningOptions.type) === common_1.VersioningType.URI) { | ||
return ((_a = Reflect.getMetadata(constants_1.VERSION_METADATA, metatype)) !== null && _a !== void 0 ? _a : versioningOptions.defaultVersion); | ||
} | ||
} | ||
} | ||
exports.SwaggerExplorer = SwaggerExplorer; |
{ | ||
"name": "@nestjs/swagger", | ||
"version": "5.1.3", | ||
"version": "5.1.4", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@swagger)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
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
246236
5012