{"_id":"@ahmttyydn/nextjs-openapi","_rev":"7-b69f848709d17c5ce5a253cedccd32f8","name":"@ahmttyydn/nextjs-openapi","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@ahmttyydn/nextjs-openapi","version":"1.0.0","keywords":["typescript","types","scalar","references"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/nextjs-openapi@1.0.0","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/scalar/scalar","bugs":{"url":"https://github.com/scalar/scalar/issues/new/choose"},"dist":{"shasum":"18f623734377fe1d6bfe73becf111b023f7fceaf","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.0.tgz","fileCount":13,"integrity":"sha512-bZTJ4FzRL8JtWt7fKT6fk6Xv4vImeYlUpMIDDPeP2KeKJUcrfel08EuiWHjW5AdhjNwlJmlypbZTGnV3Spko8Q==","signatures":[{"sig":"MEQCIHG6YaDLfhnL9wzB9abRGL3eyOL1lETZxE0YyHw2oXl9AiAfWSbCea3+yrsB2siGZCmIsF1Za2kj2FL33346u7tM4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33919},"type":"module","_from":"file:ahmttyydn-nextjs-openapi-1.0.0.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"next dev playground -p 5066","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit"},"_npmUser":{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"},"_resolved":"/private/var/folders/6s/_0b0836n1t9dc5prz2rp43h80000gn/T/d97678fc9cc5ace2c32d1c61d2bf587e/ahmttyydn-nextjs-openapi-1.0.0.tgz","_integrity":"sha512-bZTJ4FzRL8JtWt7fKT6fk6Xv4vImeYlUpMIDDPeP2KeKJUcrfel08EuiWHjW5AdhjNwlJmlypbZTGnV3Spko8Q==","repository":{"url":"git+https://github.com/scalar/scalar.git","type":"git","directory":"packages/nextjs-openapi"},"_npmVersion":"11.6.2","description":"Automatically generate an OpenAPI schema from a Nextjs API","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/types":"1.0.0","@ahmttyydn/ts-to-openapi":"1.0.0","@ahmttyydn/nextjs-api-reference":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.5.10","@types/node":"^24.1.0","@types/react":"^19.2.7","openapi-types":"^12.1.3","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-openapi_1.0.0_1775418734143_0.25546494062652814","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ahmttyydn/nextjs-openapi","version":"1.0.1","keywords":["typescript","types","scalar","references"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/nextjs-openapi@1.0.1","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"464fc53a57ea1a5903c5680fff05e2229cc0fff2","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.1.tgz","fileCount":13,"integrity":"sha512-L4rT3fwpI9pwaLo1C07L5IAjQDZBodWY/p24fRO7OgIprMKW3W2BNdk7jI0OEzlb/OgohlFk9U7BTnBN4/U51Q==","signatures":[{"sig":"MEYCIQC9iCtWyVR1azC9931wbfRTP/VGyeAiJicvZgmYgwI/BwIhAKidJ1H0Orku2SbsYMEhXOCPVzUjef7Y0uegLSU0IKIK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fnextjs-openapi@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33922},"type":"module","_from":"file:ahmttyydn-nextjs-openapi-1.0.1.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"next dev playground -p 5066","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:90473974-b1aa-40aa-99ad-900f87e1d84e"}},"_resolved":"/tmp/141c424f7189c308516e0f33dd97aa28/ahmttyydn-nextjs-openapi-1.0.1.tgz","_integrity":"sha512-L4rT3fwpI9pwaLo1C07L5IAjQDZBodWY/p24fRO7OgIprMKW3W2BNdk7jI0OEzlb/OgohlFk9U7BTnBN4/U51Q==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/nextjs-openapi"},"_npmVersion":"11.11.0","description":"Automatically generate an OpenAPI schema from a Nextjs API","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/types":"1.0.1","@ahmttyydn/ts-to-openapi":"1.0.1","@ahmttyydn/nextjs-api-reference":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.5.10","@types/node":"^24.1.0","@types/react":"^19.2.7","openapi-types":"^12.1.3","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-openapi_1.0.1_1775438325295_0.01724135032155094","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ahmttyydn/nextjs-openapi","version":"1.0.2","keywords":["typescript","types","scalar","references"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/nextjs-openapi@1.0.2","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"08916d2d15f029ac88f36dc4cd2e3d6b6e782663","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.2.tgz","fileCount":13,"integrity":"sha512-vnyGcgqbqNX9gZPpfRuPJs6DAphPjljWIL55D19bIgGEEnhnot4aJ5kaifKmuYIF/k+e7BJUHRrUoidxLYrkhQ==","signatures":[{"sig":"MEUCICN6nOkA902xmTkdBUnW2SbG/IRkCuB3Z1KQMHaksnfkAiEA3tA4WMk1NON53gpp1AMEFjG/QxuzZ5v8R8nRsRIzgeI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fnextjs-openapi@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33922},"type":"module","_from":"file:ahmttyydn-nextjs-openapi-1.0.2.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"next dev playground -p 5066","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:90473974-b1aa-40aa-99ad-900f87e1d84e"}},"_resolved":"/tmp/37ce4dacd4edf8cc456d40cd2325df36/ahmttyydn-nextjs-openapi-1.0.2.tgz","_integrity":"sha512-vnyGcgqbqNX9gZPpfRuPJs6DAphPjljWIL55D19bIgGEEnhnot4aJ5kaifKmuYIF/k+e7BJUHRrUoidxLYrkhQ==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/nextjs-openapi"},"_npmVersion":"11.11.0","description":"Automatically generate an OpenAPI schema from a Nextjs API","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/types":"1.0.2","@ahmttyydn/ts-to-openapi":"1.0.2","@ahmttyydn/nextjs-api-reference":"1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.5.10","@types/node":"^24.1.0","@types/react":"^19.2.7","openapi-types":"^12.1.3","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-openapi_1.0.2_1775439160747_0.9192400198020034","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@ahmttyydn/nextjs-openapi","version":"1.0.4","keywords":["typescript","types","scalar","references"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/nextjs-openapi@1.0.4","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"73e700302e1b15551ce8b0807c800d14df457d50","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.4.tgz","fileCount":13,"integrity":"sha512-LNldoUs8eFNshz/MJtAdXxwIFA9kqYehQ/s8bTcTYMdkcDCvs8DfPomBhhi3hJuMG15UTCdvtMvtSDo+MyCVrg==","signatures":[{"sig":"MEUCIQC696+uKwAv1D9vDKvM4AqpTYhQrAstAugW7RbqCcvbdwIgM2NIohXKyycuDU8PkySQqWzjyIai1FyVq5+qDgHxaGU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fnextjs-openapi@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33925},"type":"module","_from":"file:ahmttyydn-nextjs-openapi-1.0.4.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"next dev playground -p 5066","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:90473974-b1aa-40aa-99ad-900f87e1d84e"}},"_resolved":"/tmp/668c4f1a12e9d0cbbae01c43b3373790/ahmttyydn-nextjs-openapi-1.0.4.tgz","_integrity":"sha512-LNldoUs8eFNshz/MJtAdXxwIFA9kqYehQ/s8bTcTYMdkcDCvs8DfPomBhhi3hJuMG15UTCdvtMvtSDo+MyCVrg==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/nextjs-openapi"},"_npmVersion":"11.11.0","description":"Automatically generate an OpenAPI schema from a Nextjs API","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/types":"1.0.4","@ahmttyydn/ts-to-openapi":"1.0.4","@ahmttyydn/nextjs-api-reference":"1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.5.10","@types/node":"^24.1.0","@types/react":"^19.2.7","openapi-types":"^12.1.3","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-openapi_1.0.4_1775441077213_0.37738790106502074","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@ahmttyydn/nextjs-openapi","version":"1.0.6","keywords":["typescript","types","scalar","references"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/nextjs-openapi@1.0.6","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"811c52c2261f08fdde8d5a043e852f3ba6a18b43","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.6.tgz","fileCount":13,"integrity":"sha512-cuD9ASeh6ok0BsLaveLSz4JjlR2ftsQ9S2vxuSmahy+RCMe5+PLIk6tamODlGCPGW8gu6lTs8UFbttKJ0+7z3A==","signatures":[{"sig":"MEYCIQCJOf6uxrfBeZvXobtGx1Qvw0C4pBJMmiz8JZITzN81bwIhAL4YeC15bo2frQwGt70aoNxnSGn9oxtdaTVZEz0XejKl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fnextjs-openapi@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33925},"type":"module","_from":"file:ahmttyydn-nextjs-openapi-1.0.6.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"next dev playground -p 5066","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:90473974-b1aa-40aa-99ad-900f87e1d84e"}},"_resolved":"/tmp/567948d66808c03e2eb179f9ab82caa0/ahmttyydn-nextjs-openapi-1.0.6.tgz","_integrity":"sha512-cuD9ASeh6ok0BsLaveLSz4JjlR2ftsQ9S2vxuSmahy+RCMe5+PLIk6tamODlGCPGW8gu6lTs8UFbttKJ0+7z3A==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/nextjs-openapi"},"_npmVersion":"11.11.0","description":"Automatically generate an OpenAPI schema from a Nextjs API","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/types":"1.0.6","@ahmttyydn/ts-to-openapi":"1.0.6","@ahmttyydn/nextjs-api-reference":"1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.5.10","@types/node":"^24.1.0","@types/react":"^19.2.7","openapi-types":"^12.1.3","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-openapi_1.0.6_1775488443491_0.18409989427265439","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@ahmttyydn/nextjs-openapi","version":"1.0.8","keywords":["typescript","types","scalar","references"],"author":{"url":"https://github.com/scalar","name":"Scalar"},"license":"MIT","_id":"@ahmttyydn/nextjs-openapi@1.0.8","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"dist":{"shasum":"33f86ab28800b6956c755e26cb04fdbd082708e9","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.8.tgz","fileCount":13,"integrity":"sha512-GovPh3ek1to3EIg/3HTjKI5neSFTLcWdFRs/T2IineWjjM50ppknKqBJEVu5vFEBi8UKpadWWes/izfKtAAR+w==","signatures":[{"sig":"MEUCIEd62/FTE2N2eVzhU3LbFGq29iXFYnLMKKZ+bVxnqV67AiEA57HZqf8YRuabYPGx8Shu8dSTFU5SFObae6+cabny7dU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fnextjs-openapi@1.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33925},"type":"module","_from":"file:ahmttyydn-nextjs-openapi-1.0.8.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"next dev playground -p 5066","build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","types:check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:90473974-b1aa-40aa-99ad-900f87e1d84e"}},"_resolved":"/tmp/3f6c91cb2e66e64f0e650fbb7a7b2771/ahmttyydn-nextjs-openapi-1.0.8.tgz","_integrity":"sha512-GovPh3ek1to3EIg/3HTjKI5neSFTLcWdFRs/T2IineWjjM50ppknKqBJEVu5vFEBi8UKpadWWes/izfKtAAR+w==","repository":{"url":"git+https://github.com/ahmtydn/scalar.git","type":"git","directory":"packages/nextjs-openapi"},"_npmVersion":"11.11.0","description":"Automatically generate an OpenAPI schema from a Nextjs API","directories":{},"_nodeVersion":"24.14.1","dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/types":"1.0.8","@ahmttyydn/ts-to-openapi":"1.0.8","@ahmttyydn/nextjs-api-reference":"1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.5.10","@types/node":"^24.1.0","@types/react":"^19.2.7","openapi-types":"^12.1.3","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/nextjs-openapi_1.0.8_1775513440884_0.04598814500159354","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@ahmttyydn/nextjs-openapi","description":"Automatically generate an OpenAPI schema from a Nextjs API","license":"MIT","author":{"name":"Scalar","url":"https://github.com/scalar"},"homepage":"https://github.com/ahmtydn/scalar","bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"repository":{"type":"git","url":"git+https://github.com/ahmtydn/scalar.git","directory":"packages/nextjs-openapi"},"keywords":["typescript","types","scalar","references"],"version":"1.0.9","engines":{"node":">=22"},"type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts","default":"./dist/index.js"}},"dependencies":{"fast-glob":"^3.3.3","@ahmttyydn/nextjs-api-reference":"1.0.9","@ahmttyydn/ts-to-openapi":"1.0.9","@ahmttyydn/types":"1.0.9"},"devDependencies":{"@types/node":"^24.1.0","@types/react":"^19.2.7","@types/react-dom":"^19.2.3","next":"^15.5.10","openapi-types":"^12.1.3"},"scripts":{"build":"tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json","dev":"next dev playground -p 5066","types:check":"tsc --noEmit"},"_id":"@ahmttyydn/nextjs-openapi@1.0.9","_integrity":"sha512-FVHJpzDBFvICAq4JatERGepdwcnv5ezyh5fDKQgl3i+bE1/g+uXcvU9WZudA3Y8i2hY8afbYiScSs+DBNVJKYA==","_resolved":"/tmp/9aa06a9b1bafbe86da6c73b57a588877/ahmttyydn-nextjs-openapi-1.0.9.tgz","_from":"file:ahmttyydn-nextjs-openapi-1.0.9.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-FVHJpzDBFvICAq4JatERGepdwcnv5ezyh5fDKQgl3i+bE1/g+uXcvU9WZudA3Y8i2hY8afbYiScSs+DBNVJKYA==","shasum":"074bd009a1d5366dde6097e649a70600fea4417d","tarball":"https://registry.npmjs.org/@ahmttyydn/nextjs-openapi/-/nextjs-openapi-1.0.9.tgz","fileCount":13,"unpackedSize":33925,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmttyydn%2fnextjs-openapi@1.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE9jTa7US7KhNMDHYfspG2TH/CSX6X02yJP1ajIortyIAiEA2QlpSegBP2Xhc6yvtgjnCI0tUDAKWZShFIb5wVHuNks="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:90473974-b1aa-40aa-99ad-900f87e1d84e"}},"directories":{},"maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nextjs-openapi_1.0.9_1775514712918_0.08387344745942804"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-05T19:52:14.065Z","modified":"2026-04-06T22:31:53.458Z","1.0.0":"2026-04-05T19:52:14.327Z","1.0.1":"2026-04-06T01:18:45.453Z","1.0.2":"2026-04-06T01:32:40.898Z","1.0.4":"2026-04-06T02:04:37.383Z","1.0.6":"2026-04-06T15:14:03.635Z","1.0.8":"2026-04-06T22:10:41.035Z","1.0.9":"2026-04-06T22:31:53.068Z"},"bugs":{"url":"https://github.com/ahmtydn/scalar/issues/new/choose"},"author":{"name":"Scalar","url":"https://github.com/scalar"},"license":"MIT","homepage":"https://github.com/ahmtydn/scalar","keywords":["typescript","types","scalar","references"],"repository":{"type":"git","url":"git+https://github.com/ahmtydn/scalar.git","directory":"packages/nextjs-openapi"},"description":"Automatically generate an OpenAPI schema from a Nextjs API","maintainers":[{"name":"ahmttyydn","email":"ahmttyydn@gmail.com"}],"readme":"# [PRE-ALPHA] Scalar Next.js API Reference Handler\n\n[![Version](https://img.shields.io/npm/v/%40scalar/nextjs-openapi)](https://www.npmjs.com/package/@ahmttyydn/nextjs-openapi)\n[![Downloads](https://img.shields.io/npm/dm/%40scalar/nextjs-openapi)](https://www.npmjs.com/package/@ahmttyydn/nextjs-openapi)\n[![License](https://img.shields.io/npm/l/%40scalar%2fnextjs-openapi)](https://www.npmjs.com/package/@ahmttyydn/nextjs-openapi)\n[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)\n\nThis plugin automatically generates an OpenAPI schema file based on a Next.js API.\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/ahmtydn/scalar/assets/2039539/5837adad-a605-4edb-90ec-b929ff2b803b\">\n  <source media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/ahmtydn/scalar/assets/2039539/4f58202d-f40f-47b3-aeaa-44681b424a45\">\n  <img alt=\"Screenshot of an API Reference\" src=\"https://github.com/ahmtydn/scalar/assets/2039539/4f58202d-f40f-47b3-aeaa-44681b424a45\">\n</picture>\n\n## Installation\n\n```bash\nnpm install @ahmttyydn/nextjs-openapi\n```\n\n## Usage\n\nCurrently this plugin is strictly for the app router with typescript. Currently we generate the spec from the Request/Context types as well as the returns in the HTTP method. You can find a simple example in the `playground` folder.\n\nAlso is currently under heavy development, all API's are likely to change. However we are looking for feedback! If you have an open API OR would like to share a private one, let us know so we can test the integration with it.\n\nYou just need to drop this file into the `app/api/openapi/[[...openapi]]` folder. You can rename the openapi folder to whatever you like but the dynamic folder must be catch-all as we will be serving two endpoints.\n\n```ts\n// app/api/openapi/[[...slug]]/route.ts\nimport { OpenAPI } from '@ahmttyydn/nextjs-openapi'\n\nexport const GET = OpenAPI().GET\n```\n","readmeFilename":"README.md"}