{"version":3,"sources":["jsdelivr-header.js","/npm/openapi-enforcer-middleware@2.2.0/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,SAAW,QAAQ,YACnB,gBAAkB,QAAQ,mBAC1B,OAAS,QAAQ,UACjB,OAAS,QAAQ,UACjB,OAAS,QAAQ,UACvB,SAAS,0BAA0B,GAC/B,MAAO,CACH,KAAK,GACM,OAAO,eAAe,EAAS,GAE1C,KAAK,GACM,OAAO,KAAK,EAAS,GAEhC,KAAI,IACO,OAAO,iBAElB,GAAI,SAAS,GACb,MAAK,CAAC,EAAa,IACR,gBAAgB,aAAa,EAAS,EAAa,GAGtE,CACA,QAAQ,QAAU,0BAClB,OAAO,QAAU","file":"/npm/openapi-enforcer-middleware@2.2.0/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/openapi-enforcer-middleware@2.2.0/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst events_1 = require(\"./events\");\nconst route_builder_1 = require(\"./route-builder\");\nconst init_1 = require(\"./init\");\nconst mock_1 = require(\"./mock\");\nconst docs_1 = require(\"./docs\");\nfunction OpenAPIEnforcerMiddleware(openapi) {\n    return {\n        docs(options) {\n            return docs_1.docsMiddleware(openapi, options);\n        },\n        init(options) {\n            return init_1.init(openapi, options);\n        },\n        mock() {\n            return mock_1.mockMiddleware();\n        },\n        on: events_1.on,\n        route(controllers, options) {\n            return route_builder_1.routeBuilder(openapi, controllers, options);\n        }\n    };\n}\nexports.default = OpenAPIEnforcerMiddleware;\nmodule.exports = OpenAPIEnforcerMiddleware;\n"]}