{"versions":{"0.0.0":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Mintlify, Inc."},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","swagger","parser","typescript"],"version":"0.0.0","engines":{"node":">=18"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/utils/load/plugins/fetchUrls.js"},"./plugins/read-files":{"import":"./dist/utils/load/plugins/readFiles.js"}},"module":"./dist/index.js","sideEffects":false,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@scalar/openapi-types":"link:../openapi-types","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","rollup":"^4.16.4","rollup-plugin-output-size":"^1.4.1","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.0","gitHead":"6ed11891d5b35e770aa9b99f76323fecbdfe7c78","bugs":{"url":"https://github.com/scalar/scalar/issues"},"homepage":"https://github.com/scalar/scalar#readme","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-gUdgc5/Y2HsQ6avd3kr3SVQ8ONfUdctgOuVYmuv/dPWPOTizf+EL+azaoLS6ZNk7mBRsewVW1y1iGdjfzmTNiQ==","shasum":"05a8be8d4d2b2edea5fd8d63cdfe6df6ae0a6e90","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.0.tgz","fileCount":167,"unpackedSize":1888115,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1mGIBnlZ0CIwrWN6c44p6SY2uXGELalCzMRO0CwfbOQIhANpN2Fn0XnxA9qt7WdVl2ZmP21XCc6cslonEa1XVT/wq"}],"size":64545},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.0_1728960806147_0.49194196629600606"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-15T02:53:26.329Z","publish_time":1728960806329,"_source_registry_name":"default","contributors":[]},"0.0.1":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.1","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"workspace:*","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.1","gitHead":"57142bb42dfb940f2d3eac8886281a242af74b6c","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-z2SkmIM5A6r4Y2WKRdtXSSrTZ4htyHG1LQ0ZU18izO9/shWlMuck6tldE0ceXZQrCp66UzaIP8YdYgEO8AhxLQ==","shasum":"5546af1c075f8da9e45cd71732886f67e5390fa0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.1.tgz","fileCount":173,"unpackedSize":1953741,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq1J/nNjidfSG7pFwHW0s908Nvnm0i+BeSx5cj3nSMfgIhAPDKvU7EKJDL9Lbo3lm52iRqS2Mey7TIUjq7jhZ9I9Mx"}],"size":73631},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.1_1730339967621_0.4067456675859351"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-31T01:59:27.822Z","publish_time":1730339967822,"_source_registry_name":"default","contributors":[]},"0.0.2":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.2","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"0.0.0","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.2","gitHead":"8ff1c08bba2a7b1a530f025c32fd20201faee646","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-h9l9NaNCA2gBss1B7XZsngvFZxDOxQjMTzDiXrexEkxsegU2oLPdrlqIkVSHx81/SMsK9ODSxWJVaqAAerqWNQ==","shasum":"5c32512cddf31b6d0331729aa4464f83424308db","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.2.tgz","fileCount":173,"unpackedSize":1953735,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMYHHeddZ0ayk6A2Mlb7TmscFZ3LdMRry2QEnhdTP/XQIga7AuqRxhQ5hSmcaMvW9vjUhzdKKHRpgMYtnmSp8GI+0="}],"size":73631},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.2_1730410522557_0.9014185227343976"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-31T21:35:22.791Z","publish_time":1730410522791,"_source_registry_name":"default","contributors":[]},"0.0.3":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.3","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"0.0.0","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.3","gitHead":"f4d393780f0091fa7fee9eb3c92cc472eb0a6aa0","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-K+V7vhoV3fnHoAw8xMCJWPp6zBJLXawS2tDLBACMoAvCXm3mumvmTehZBxTLtWNoBTzxBg9hIw5hSF/sreJzTA==","shasum":"c2059d740dc9245bf8f756be21e0035b56984662","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.3.tgz","fileCount":173,"unpackedSize":1953789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxc9BEZlLpnTxtOoif22bAFG/AZ0h97f748isYB/fTmAiB9ABgj4gcRXuUAmK3a5K0U3quQvMZv0tAdDx/jvzoaLA=="}],"size":73630},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.3_1730417512237_0.14149079645952822"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-31T23:31:52.465Z","publish_time":1730417512465,"_source_registry_name":"default","contributors":[]},"0.0.4":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.4","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"workspace:*","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.4","gitHead":"8dee80a3fb1fe1d6f43e1f0dd555ada04dc356e7","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-qxPF881clk+wKq9locc1tPkkyBHZtqZRYSdw/IVuVlnLUCHldT1o2uC0mIirVuQgiP4JETgk6JuK0JBFooSgiQ==","shasum":"b170a2520b9e9a0d889aa5a06cf587889871d1b1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.4.tgz","fileCount":173,"unpackedSize":1953583,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG16VE5MreiRKoYJ6ikqyi18KA+u1FvQL1FGvoTUBWAgIhAJnawh4tsfQnJ8rLxCN/vlVyHbH68iIeiQ0bYcIqFUhv"}],"size":73614},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.4_1730418662213_0.9954487925885487"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-31T23:51:02.480Z","publish_time":1730418662480,"_source_registry_name":"default","contributors":[]},"0.0.5":{"name":"@mintlify/openapi-parser","version":"0.0.5","keywords":["openapi","scalar","swagger","parser","typescript"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@mintlify/openapi-parser@0.0.5","maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"dist":{"shasum":"20c299bfe9efec9bc2578c832872f3bb08a49c83","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.5.tgz","fileCount":173,"integrity":"sha512-pGv2VzmbjkJgP/zew14SvFSr9lG9kfD+nJ79DWtoimvNkVJhP3ArHiiWuaLFlwlAD+43DdsggDR4jPnh4TbW2Q==","signatures":[{"sig":"MEQCICP2/GXZ36gsJoGgfFuWQXTjYQm0bC6Zc/hqTamV57u+AiBDMx9/yBAkxBGrhRINRD8259Li5dHkV1/Qpu/W3P+BIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1953522,"size":73611},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./plugins/fetch-urls":{"types":"./dist/plugins/fetch-urls/index.d.ts","import":"./dist/plugins/fetch-urls/index.js","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"types":"./dist/plugins/read-files/index.d.ts","import":"./dist/plugins/read-files/index.js","default":"./dist/plugins/read-files/index.js"}},"gitHead":"8cb33ea3ed2ac9b09088836067310e48e0650510","scripts":{"test":"vitest","build":"scalar-build-rollup","format":"prettier --write .","lint:fix":"eslint .  --fix","test:unit":"vite-node scripts/load-files.ts && vitest","lint:check":"eslint .","types:build":"scalar-types-build","types:check":"scalar-types-check","test:prepare":"vite-node scripts/load-files.ts"},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"repository":{"url":"git+https://github.com/scalar/scalar.git","type":"git","directory":"packages/openapi-parser"},"_npmVersion":"10.1.0","description":"modern OpenAPI parser written in TypeScript","directories":{},"sideEffects":false,"_nodeVersion":"20.8.0","dependencies":{"ajv":"^8.17.1","yaml":"^2.4.5","leven":"^4.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","ajv-draft-04":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.3.10","just-diff":"^6.0.2","tinybench":"^2.8.0","@types/node":"^20.14.10","json-to-ast":"^2.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"workspace:*","@apidevtools/swagger-parser":"^10.1.0"},"_npmOperationalInternal":{"tmp":"tmp/openapi-parser_0.0.5_1730431430930_0.0012252266108701004","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-11-01T03:23:51.165Z","publish_time":1730431431165,"_source_registry_name":"default","contributors":[]},"0.0.6":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.6","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"0.0.0","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.6","gitHead":"8cb33ea3ed2ac9b09088836067310e48e0650510","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-YobgWAQDtqcyr+7Rn3knHfw5P0vbd2PJngPIf+1ZREFPJUY/JpUD4Q5Ne1pvxiLvNKJC5EYVa9kPylUQV+bf9g==","shasum":"c3489f450248eabd66171f972f9261a2c7148caa","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.6.tgz","fileCount":173,"unpackedSize":1953516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEIzy1jf1l/L1uBN4SvqcxIIAAvDlUUXe8ao8UCiI0vWAiBqBRKRRenhGsUbnMmcscvPJPMysrteoHjJ3CPSYZeuAg=="}],"size":73614},"_npmUser":{"name":"anonymous","email":"hahnbee@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.6_1730431538830_0.13817997915395308"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-01T03:25:39.023Z","publish_time":1730431539023,"_source_registry_name":"default","contributors":[]},"0.0.7":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.7","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"0.0.0","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.7","gitHead":"0b5d08229f9efd711eeb523e2ce3a3878fefd584","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-3ecbkzPbsnkKVZJypVL0H5pCTR7a4iLv4cP7zbffzAwy+vpH70JmPxNVpPPP62yLrdZlfNcMxu5xKeT7fllgMg==","shasum":"373b44e79a36fa026339abafa34ff111add5175f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.7.tgz","fileCount":173,"unpackedSize":1953627,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6cLxCN/na8+9SnLoux7MB7WaoTHWxnmWI3Yrf6zNK5wIhAOwBLvPMKGrQGdZIOixpXdgQgfAdpOqLzydYKMDB1rl0"}],"size":73186},"_npmUser":{"name":"anonymous","email":"ronan@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ricky@mintlify.com"},{"name":"anonymous","email":"ronan@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"han@mintlify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openapi-parser_0.0.7_1730846008412_0.7452410464136878"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-05T22:33:28.664Z","publish_time":1730846008664,"_source_registry_name":"default","contributors":[]},"0.0.8":{"name":"@mintlify/openapi-parser","description":"modern OpenAPI parser written in TypeScript","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/scalar/scalar.git","directory":"packages/openapi-parser"},"keywords":["openapi","scalar","swagger","parser","typescript"],"version":"0.0.8","engines":{"node":">=18"},"scripts":{"build":"scalar-build-rollup","format":"prettier --write .","lint:check":"eslint .","lint:fix":"eslint .  --fix","test":"vitest","test:prepare":"vite-node scripts/load-files.ts","test:unit":"vite-node scripts/load-files.ts && vitest","types:build":"scalar-types-build","types:check":"scalar-types-check"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"},"./plugins/fetch-urls":{"import":"./dist/plugins/fetch-urls/index.js","types":"./dist/plugins/fetch-urls/index.d.ts","default":"./dist/plugins/fetch-urls/index.js"},"./plugins/read-files":{"import":"./dist/plugins/read-files/index.js","types":"./dist/plugins/read-files/index.d.ts","default":"./dist/plugins/read-files/index.js"}},"module":"./dist/index.js","sideEffects":false,"dependencies":{"ajv":"^8.17.1","ajv-draft-04":"^1.0.0","ajv-formats":"^3.0.1","jsonpointer":"^5.0.1","leven":"^4.0.0","yaml":"^2.4.5"},"devDependencies":{"@apidevtools/swagger-parser":"^10.1.0","@babel/code-frame":"^7.24.7","@google-cloud/storage":"^7.12.1","@mintlify/build-tooling":"workspace:*","@mintlify/openapi-types":"0.0.0","@types/node":"^20.14.10","glob":"^10.3.10","json-to-ast":"^2.1.0","just-diff":"^6.0.2","tinybench":"^2.8.0"},"_id":"@mintlify/openapi-parser@0.0.8","gitHead":"c8ecfeee376c4cefdefc5cabf280de69a79550f3","_nodeVersion":"22.18.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-9MBRq9lS4l4HITYCrqCL7T61MOb20q9IdU7HWhqYMNMM1jGO1nHjXasFy61yZ8V6gMZyyKQARGVoZ0ZrYN48Og==","shasum":"09cf5fab762956dddc91dddfb818f076fe1aea81","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@mintlify/openapi-parser/-/openapi-parser-0.0.8.tgz","fileCount":173,"unpackedSize":1954127,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEEb5tvUUxdwbwXWDYGqW+RQyWr+MS/pkM/VcuHPLTCeAiApuzEazWRHuoYjQrgcfWkil1FTAldQIdiSAKbPFrxPqA=="}],"size":73306},"_npmUser":{"name":"anonymous","email":"ricardo@mintlify.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"han@mintlify.com"},{"name":"anonymous","email":"hahnbee@mintlify.com"},{"name":"anonymous","email":"ian@mintlify.com"},{"name":"anonymous","email":"ricardo@mintlify.com"},{"name":"anonymous","email":"dens.sumesh79@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openapi-parser_0.0.8_1758819912169_0.6752417084664424"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-25T17:05:12.515Z","publish_time":1758819912515,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.0.8"},"name":"@mintlify/openapi-parser","time":{"created":"2024-10-15T02:54:09.945Z","modified":"2026-03-30T22:29:39.415Z","0.0.0":"2024-10-15T02:53:26.329Z","0.0.1":"2024-10-31T01:59:27.822Z","0.0.2":"2024-10-31T21:35:22.791Z","0.0.3":"2024-10-31T23:31:52.465Z","0.0.4":"2024-10-31T23:51:02.480Z","0.0.5":"2024-11-01T03:23:51.165Z","0.0.6":"2024-11-01T03:25:39.023Z","0.0.7":"2024-11-05T22:33:28.664Z","0.0.8":"2025-09-25T17:05:12.515Z"},"readme":"# Scalar OpenAPI Parser\n\n[![Version](https://img.shields.io/npm/v/%40scalar/openapi-parser)](https://www.npmjs.com/package/@mintlify/openapi-parser)\n[![Downloads](https://img.shields.io/npm/dm/%40scalar/openapi-parser)](https://www.npmjs.com/package/@mintlify/openapi-parser)\n[![License](https://img.shields.io/npm/l/%40scalar%2Fopenapi-parser)](https://www.npmjs.com/package/@mintlify/openapi-parser)\n[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)\n\nModern OpenAPI parser written in TypeScript with support for OpenAPI 3.1, OpenAPI 3.0 and Swagger 2.0.\n\n## Goals\n\n- [x] Written in TypeScript\n- [x] Runs in Node.js and in the browser (without any polyfills or configuration)\n- [x] Tested with hundreds of real world examples\n- [ ] Amazing error output\n- [ ] Support for OpenAPI 4.0 👀\n\n## Installation\n\n```bash\nnpm add @mintlify/openapi-parser\n```\n\n## Usage\n\n### Validate\n\n```ts\nimport { validate } from '@mintlify/openapi-parser'\n\nconst file = `{\n  \"openapi\": \"3.1.0\",\n  \"info\": {\n    \"title\": \"Hello World\",\n    \"version\": \"1.0.0\"\n  },\n  \"paths\": {}\n}`\n\nconst { valid, errors } = await validate(file)\n\nconsole.log(valid)\n\nif (!valid) {\n  console.log(errors)\n}\n```\n\n### Resolve references\n\n```ts\nimport { dereference } from '@mintlify/openapi-parser'\n\nconst specification = `{\n  \"openapi\": \"3.1.0\",\n  \"info\": {\n    \"title\": \"Hello World\",\n    \"version\": \"1.0.0\"\n  },\n  \"paths\": {}\n}`\n\nconst { schema, errors } = await dereference(specification)\n```\n\n### Modify an OpenAPI specification\n\n```ts\nimport { filter } from '@mintlify/openapi-parser'\n\nconst specification = `{\n  \"openapi\": \"3.1.0\",\n  \"info\": {\n    \"title\": \"Hello World\",\n    \"version\": \"1.0.0\"\n  },\n  \"paths\": {}\n}`\n\nconst { specification } = filter(specification, (schema) => !schema?.['x-internal'])\n```\n\n### Upgrade your OpenAPI specification\n\nThere’s an `upgrade` command to upgrade all your OpenAPI specifications to the latest OpenAPI version.\n\n> ⚠️ The upgrade from Swagger 2.0 is still experimental and probably lacks features.\n\n```ts\nimport { upgrade } from '@mintlify/openapi-parser'\n\nconst { specification } = upgrade({\n  swagger: '2.0',\n  info: {\n    title: 'Hello World',\n    version: '1.0.0',\n  },\n  paths: {},\n})\n\nconsole.log(specification.openapi)\n// Output: 3.1.0\n```\n\n### Pipeline syntax\n\n```ts\nimport { openapi } from '@mintlify/openapi-parser'\n\nconst specification = …\n\n// New pipeline …\nconst result = openapi()\n  // loads the specification …\n  .load(specification)\n  // upgrades to OpenAPI 3.1 …\n  .upgrade()\n  // removes all internal operations …\n  .filter((schema) => !schema?.['x-internal'])\n  // done!\n  .get()\n```\n\n### Then/Catch syntax\n\nIf you’re more the then/catch type of guy, that’s fine:\n\n```ts\nimport { validate } from '@mintlify/openapi-parser'\n\nconst specification = …\n\nvalidate(specification, {\n  throwOnError: true,\n})\n.then(result => {\n  // Success\n})\n.catch(error => {\n  // Failure\n})\n```\n\n### TypeScript\n\nIf you just look for our types, you can install the package separately:\n\n```bash\nnpm add @mintlify/openapi-types\n```\n\nAnd use it like this:\n\n```ts\nimport type { OpenAPI } from '@mintlify/openapi-types'\n\nconst file: OpenAPI.Document = {\n  openapi: '3.1.0',\n  info: {\n    title: 'Hello World',\n    version: '1.0.0',\n  },\n  paths: {},\n}\n```\n\n### Advanced: URL and file references\n\nYou can reference other files, too. To do that, the parser needs to know what files are available.\n\n```ts\nimport { dereference, load } from '@mintlify/openapi-parser'\nimport { fetchUrls } from '@mintlify/openapi-parser/plugins/fetch-urls'\nimport { readFiles } from '@mintlify/openapi-parser/plugins/read-files'\n\n// Load a file and all referenced files\nconst { filesystem } = await load('./openapi.yaml', {\n  plugins: [\n    readFiles(),\n    fetchUrls({\n      limit: 5,\n    }),\n  ],\n})\n\n// Instead of just passing a single specification, pass the whole “filesystem”\nconst result = await dereference(filesystem)\n```\n\nAs you see, `load()` supports plugins. You can write your own plugin, if you’d like to fetch API defintions from another data source, for example your database. Look at the source code of the `readFiles` to learn how this could look like.\n\n#### Directly load URLs\n\nOnce the `fetchUrls` plugin is loaded, you can also just pass an URL:\n\n```ts\nimport { dereference, load } from '@mintlify/openapi-parser'\nimport { fetchUrls } from '@mintlify/openapi-parser/plugins/fetch-urls'\n\n// Load a file and all referenced files\nconst { filesystem } = await load(\n  'https://cdn.jsdelivr.net/npm/@mintlify/galaxy/dist/latest.yaml',\n  {\n    plugins: [fetchUrls()],\n  },\n)\n```\n\n#### Intercept HTTP requests\n\nIf you’re using the package in a browser environment, you may run into CORS issues when fetching from URLs. You can intercept the requests, for example to use a proxy, though:\n\n```ts\nimport { dereference, load } from '@mintlify/openapi-parser'\nimport { fetchUrls } from '@mintlify/openapi-parser/plugins/fetch-urls'\n\n// Load a file and all referenced files\nconst { filesystem } = await load(\n  'https://cdn.jsdelivr.net/npm/@mintlify/galaxy/dist/latest.yaml',\n  {\n    plugins: [\n      fetchUrls({\n        fetch: (url) => fetch(url.replace('BANANA.net', 'jsdelivr.net')),\n      }).get('https://cdn.BANANA.net/npm/@mintlify/galaxy/dist/latest.yaml'),\n    ],\n  },\n)\n```\n\n## Community\n\nWe are API nerds. You too? Let’s chat on Discord: <https://discord.gg/scalar>\n\n## Thank you!\n\nThanks a ton for all the help and inspiration:\n\n- [@philsturgeon](https://github.com/philsturgeon) to make sure we build something we won’t hate.\n- We took a lot of inspiration from [@seriousme](https://github.com/seriousme) and his package [openapi-schema-validator](https://github.com/seriousme/openapi-schema-validator) early-on.\n- You could consider this package the modern successor of [@apidevtools/swagger-parser](https://github.com/APIDevTools/swagger-parser), we even test against it to make sure we’re getting the same results (where intended).\n- We stole a lot of example specification from [@mermade](https://github.com/mermade) to test against.\n\n## License\n\nThe source code in this repository is licensed under [MIT](https://github.com/scalar/scalar/blob/main/LICENSE).","users":{}}