@apideck/portman
Version:
Port OpenAPI Spec to Postman Collection, with contract & variation tests included
10 lines • 525 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.inOperations = void 0;
var inOperations = function (target, operations) {
if (!operations)
return false;
return ((target === null || target === void 0 ? void 0 : target.id) && operations.includes(target === null || target === void 0 ? void 0 : target.id)) || operations.includes(target === null || target === void 0 ? void 0 : target.pathRef);
};
exports.inOperations = inOperations;
//# sourceMappingURL=inOperations.js.map