@foal/core
Version:
Full-featured Node.js framework, with no complexity
9 lines (8 loc) • 359 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getApiSecurity = void 0;
const utils_1 = require("../../routes/utils");
function getApiSecurity(controllerClass, propertyKey) {
return (0, utils_1.getMetadata)('api:documentOrOperation:security', controllerClass, propertyKey);
}
exports.getApiSecurity = getApiSecurity;
;