{"_id":"trpc-swagger","_rev":"38-7ff4d41ff3504633443e23471ee6bc77","name":"trpc-swagger","dist-tags":{"next":"2.0.0-rc.5","latest":"2.0.1"},"versions":{"0.0.1":{"name":"trpc-swagger","version":"0.0.1","keywords":["trpc","openapi","swagger"],"license":"MIT","_id":"trpc-swagger@0.0.1","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"05fd41aed99449997c7766bc5f448839f77de31b","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-0.0.1.tgz","fileCount":3,"integrity":"sha512-plqO3OJaVD9a6eyLxG8K0mRJmTicCv3RcHHJquqZRlZSomc0uuF7+k41CBo1u88sd9tINsLFHF6s8leYC8M7Wg==","signatures":[{"sig":"MEUCIQDOLslWC3sATGd4QrMfS9PsP54DyeMyP3jJI7fC8bqPwwIgTlZPAB+IRTLhtQXFOs+NpfCA6nX8X4Jybu3pRhsqBo0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17828},"main":"dist/index.js","gitHead":"5439860ffb20bab0240ee26a37576a0c41238112","private":false,"scripts":{"test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.6.4","co-body":"^6.1.0","openapi-types":"^12.1.1","node-mocks-http":"^1.12.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.21.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","next":"^13.4.3","eslint":"^8.41.0","rimraf":"^5.0.1","express":"^4.18.2","fastify":"^4.17.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.8.8","superjson":"^1.12.3","aws-lambda":"^1.0.7","node-fetch":"^2.6.11","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.3","@trpc/client":"^10.27.1","@types/co-body":"^6.1.0","@types/express":"^4.17.17","@types/aws-lambda":"^8.10.115","@types/node-fetch":"^2.6.4","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/lodash.clonedeep":"^4.5.7","openapi-schema-validator":"^12.1.1","@typescript-eslint/parser":"^5.59.7","@typescript-eslint/eslint-plugin":"^5.59.7","@trivago/prettier-plugin-sort-imports":"^4.1.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^11.0.0-next-beta.318"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_0.0.1_1710884222622_0.7635326583345559","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"trpc-swagger","version":"0.0.2","keywords":["trpc","openapi","swagger"],"license":"MIT","_id":"trpc-swagger@0.0.2","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"49b864e8e45096a53ab20178055125fc26974bc1","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-0.0.2.tgz","fileCount":3,"integrity":"sha512-s6VRS7Jrn4BebqQ/A5rwpjqpNenQzLYYfGX7WlhE3xYmDihTTjIC+rMJ6ih43niujWCDptQx/kcTyN5ONfyqLA==","signatures":[{"sig":"MEUCIQDz9cNc8Mzd6K0eD0s+5AQoeMwCzStYq/C05EjdIuHsewIgSkgOePgM5SKLD3AuLXH189/7bVXtFfLx3V2CMdiiV7k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17884},"main":"dist/index.js","gitHead":"60300649c238f6f2f67facbdd3153fb79d79e86a","private":false,"scripts":{"test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.6.4","co-body":"^6.1.0","openapi-types":"^12.1.1","node-mocks-http":"^1.12.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.21.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","next":"^13.4.3","eslint":"^8.41.0","rimraf":"^5.0.1","express":"^4.18.2","fastify":"^4.17.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.8.8","superjson":"^1.12.3","aws-lambda":"^1.0.7","node-fetch":"^2.6.11","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.3","@trpc/client":"^10.27.1","@types/co-body":"^6.1.0","@types/express":"^4.17.17","@types/aws-lambda":"^8.10.115","@types/node-fetch":"^2.6.4","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/lodash.clonedeep":"^4.5.7","openapi-schema-validator":"^12.1.1","@typescript-eslint/parser":"^5.59.7","@typescript-eslint/eslint-plugin":"^5.59.7","@trivago/prettier-plugin-sort-imports":"^4.1.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^11.0.0-next-beta.318"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_0.0.2_1710884282521_0.9723502826325159","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"trpc-swagger","version":"1.0.0","keywords":["trpc","openapi","swagger"],"license":"MIT","_id":"trpc-swagger@1.0.0","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"d35880f1cb496cce4fd0480dddd488a0821aa30b","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.0.0.tgz","fileCount":87,"integrity":"sha512-R5o6g+AMP9HRMh3QkG3Q3fCpcF1K3wei0Vq88RTjWvPtHbr1bTn914PiNoUo2Z1FGrzzN5aRcmnjS5RWOmmvQA==","signatures":[{"sig":"MEYCIQDSU0X4n5/fEHCdniRyepfH3gKbT9K6iaiVf7p+CLFaPQIhAN2KAjgzIM4lTQdu6E/iGQIqfYuRZ2GK65GxuMctkCl4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132038},"main":"dist/index.js","gitHead":"66b5d9517b0e6929928f58468d769f3d0aee0528","private":false,"scripts":{"lint":"eslint \"./src/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json","format":"eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\""},"typings":"dist/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.6.4","co-body":"^6.1.0","openapi-types":"^12.1.1","node-mocks-http":"^1.12.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.21.1"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.5.0","next":"^13.4.3","eslint":"^8.41.0","rimraf":"^5.0.1","semver":"^7.6.0","express":"^4.18.2","fastify":"^4.17.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.8.8","superjson":"^1.12.3","aws-lambda":"^1.0.7","node-fetch":"^2.6.11","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.3","@trpc/client":"^10.27.1","@trpc/server":"^10.45.2","@types/co-body":"^6.1.0","@types/express":"^4.17.17","@types/aws-lambda":"^8.10.115","@types/node-fetch":"^2.6.4","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/lodash.clonedeep":"^4.5.7","openapi-schema-validator":"^12.1.1","@typescript-eslint/parser":"^5.59.7","@typescript-eslint/eslint-plugin":"^5.59.7","@trivago/prettier-plugin-sort-imports":"^4.1.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.0.0_1710971705268_0.5821896531647075","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"trpc-swagger","version":"1.0.1","keywords":["trpc","openapi","swagger"],"license":"MIT","_id":"trpc-swagger@1.0.1","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"17d2393fcdf14f24529159e3b731abaf012564f4","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.0.1.tgz","fileCount":87,"integrity":"sha512-dUXN1mxNw4AGxXnSo7x4scu0hRn5ZxDlGRb5jdNHoqecB7XLC7GopO//Kk5PT09vURrt6rv5gLFDJIBZhA6XHA==","signatures":[{"sig":"MEYCIQDxhSyiWI9zhZsFosBO+K6x4Us8+0cDBp+foTiGAbaRwAIhALUnfpHyWk+ECMRtvzKGX7HAwzaMLobVvRZ4bVoJTdBC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132257},"main":"dist/index.js","gitHead":"e1f02b7848408b9224525d490f3decb5b8418690","private":false,"scripts":{"lint":"eslint \"./src/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json","format":"eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\""},"typings":"dist/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs14","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.6.4","co-body":"^6.1.0","openapi-types":"^12.1.1","node-mocks-http":"^1.12.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.21.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","next":"^13.4.3","eslint":"^8.41.0","rimraf":"^5.0.1","semver":"^7.6.0","express":"^4.18.2","fastify":"^4.17.0","ts-jest":"^29.1.0","ts-node":"^10.9.1","prettier":"^2.8.8","superjson":"^1.12.3","aws-lambda":"^1.0.7","node-fetch":"^2.6.11","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.3","@trpc/client":"^10.27.1","@types/co-body":"^6.1.0","@types/express":"^4.17.17","@types/aws-lambda":"^8.10.115","@types/node-fetch":"^2.6.4","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1","@types/lodash.clonedeep":"^4.5.7","openapi-schema-validator":"^12.1.1","@typescript-eslint/parser":"^5.59.7","@typescript-eslint/eslint-plugin":"^5.59.7","@trivago/prettier-plugin-sort-imports":"^4.1.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.0.1_1710974435545_0.7248905009720297","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"trpc-swagger","version":"1.1.0","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.1.0","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"4e483bdd2d29b92caceff888fdae3454d3c54a08","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.1.0.tgz","fileCount":4,"integrity":"sha512-43hAQyseAh8l1L8m+YGo3EmAChWbaMV7FhiwN/lA+uxSINPdl9QOwLO219Pm6BEvo5RCdy63kPqDZpNBOWth9g==","signatures":[{"sig":"MEQCIHnkUXp3BWje5thY+kkoJMN+7PBAV+GJajJmtPkhlsmRAiAga5hTwRW1nOu6rRAkvh8S/KcWFmJUcb/hdPh4KejQFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20865},"main":"build/index.js","gitHead":"9f47cebd53ed1d25bd7d9ffe764f2100bf37df0f","private":false,"scripts":{"lint":"eslint \"./examples/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./examples/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","next":"^14.1.4","eslint":"^8.57.0","rimraf":"^5.0.5","semver":"^7.6.0","express":"^4.19.1","fastify":"^4.26.2","ts-jest":"^29.1.2","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.136","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.3.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.3.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.1.0_1711041360090_0.7754010303918886","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"trpc-swagger","version":"1.1.2","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.1.2","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"ed900ccb265c9ef56312b53ef89e9532001b6b3e","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.1.2.tgz","fileCount":4,"integrity":"sha512-hFhJZRfMC56eHnipb9Pli5cf5tR7HKSSS4KCQYcwYAg62yioOhTkAitFCci1/zVSTxzabjkNvGwE8Pb+/ntipQ==","signatures":[{"sig":"MEQCIBx/oQ/Im1D5xjKstDXv7r+6TEyh3nIC801+TFwtKZxgAiBH/WG0ZKlArbLhlH/HSOBQ4usgUJlJ5h3hef4m+vkMIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22203},"main":"build/index.js","gitHead":"93d5edf52fc88eed28b8a1757b4d2f3d6bbd570e","private":false,"scripts":{"lint":"eslint \"./examples/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./examples/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","next":"^14.1.4","eslint":"^8.57.0","rimraf":"^5.0.5","semver":"^7.6.0","express":"^4.19.1","fastify":"^4.26.2","ts-jest":"^29.1.2","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.136","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.3.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.3.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.1.2_1711044878778_0.818346031755754","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"trpc-swagger","version":"1.2.0","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.0","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"6942cb87ce821cf4755ecdf3af81cd10d534c265","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.0.tgz","fileCount":87,"integrity":"sha512-TGHsxEW61fpYKCJPpxfZ1jtqcw/RRJj+XMBynGUvqXglIXRgItS+be5q08oksXMbnc+InQmHKPgBqW5Y0gjIbQ==","signatures":[{"sig":"MEYCIQD54ULLjQAES0VgJTtAZp7jiMDIEgqLOHNNkv34WhSlpwIhAI74RLi5o25aJJivq7g6k0h1vorBJGX3vMxO0hupjU4D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139450},"main":"build/index.js","gitHead":"10047752fceb3d70a94c2f8bcb6f2dfdd203fd54","private":false,"scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf dist && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.22.4"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","next":"^14.1.4","eslint":"^8.57.0","rimraf":"^5.0.5","semver":"^7.6.0","express":"^4.19.1","fastify":"^4.26.2","ts-jest":"^29.1.2","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.136","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.3.1","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.3.1"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.0_1711049007573_0.8487957092026968","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"trpc-swagger","version":"1.2.1","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.1","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/trpc-swagger","bugs":{"url":"https://github.com/vercjames/trpc-swagger/issues"},"dist":{"shasum":"a2d31c32ab128260a7e2de90a4fbcfa96a2636ba","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.1.tgz","fileCount":3,"integrity":"sha512-36Gbvn/KSjxQZzVDDJ7h8LipXHQTXhiSOu97l6m/u7my1kxRTKLqSrqdM9Zbl+7aP11kp4O0U9vhMF0g8G5KDQ==","signatures":[{"sig":"MEUCICq8QqNEKvcKcRovx2IrRwiKGagJg6CtdHnqdBXBx9wcAiEAjuLQ44rfEo7O/DHLP693Oo1b8YcTotdX+UXyMzeu1u8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20332},"main":"build/index.js","gitHead":"f7fa695050670517983683abc86685aec598f6b9","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf build && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.22.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","next":"^14.1.4","eslint":"^8.57.0","rimraf":"^5.0.5","semver":"^7.6.0","express":"^4.19.2","fastify":"^4.26.2","ts-jest":"^29.1.2","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.12.2","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.136","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.5.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.4.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.1_1712068928662_0.4116425243614865","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"trpc-swagger","version":"1.2.2","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.2","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"415daf960fa8eff64fad2e28908c1115649430ad","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.2.tgz","fileCount":3,"integrity":"sha512-3d4UunicsNKQDlOtflRiSB6HxchVuGrUJm1h/jcEbKF+FzGyQOKkTRxU1dmrvYSgvCCnz0tK45pVjcBs1v8twQ==","signatures":[{"sig":"MEYCIQDFjf8mGAlsTKjs6KrDFksTNK2vKeUar5BIWa0hUqorgwIhAM0RQXluDU0XRpvjx/YdrnUVY7c5KoVxU4CeA4DNV++q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20356},"main":"build/index.js","gitHead":"e7c2962eb60bd84df7d5f3692d7aead097db639e","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf build && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.22.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","next":"^14.1.4","eslint":"^8.57.0","rimraf":"^5.0.5","semver":"^7.6.0","express":"^4.19.2","fastify":"^4.26.2","ts-jest":"^29.1.2","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.12.2","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.136","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.5.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.4.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.2_1712069557334_0.694215899383313","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"trpc-swagger","version":"1.2.3","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.3","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"5c340e2f45c56c87385235764049ca8a8ddc4101","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.3.tgz","fileCount":87,"integrity":"sha512-EWLHgiz8nvRWlDIhrVxMY4T79t+ZYy91h69YEphgIvRsPTsA9wcinkPh4Il/GopoMZnRSu4C25kmsRrIakAiJg==","signatures":[{"sig":"MEUCIEHitCFJPOiO6KP0EVdtM184AplR3CwAHYjILkPnj5OVAiEA+r0YnVIifgTTdp7akG+SskbMkmziq0DV8CNtQgGhmG0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139595},"main":"build/index.js","gitHead":"4cb5c332322c0f98658ea34ebafbaa6d97e8e7b2","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf build && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"9.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.5.0","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.22.5"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","mime":"^4.0.1","next":"^14.1.4","eslint":"^8.57.0","rimraf":"^5.0.5","semver":"^7.6.0","express":"^4.19.2","fastify":"^4.26.2","ts-jest":"^29.1.2","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/mime":"^4.0.0","@types/node":"^20.12.4","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.136","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.5.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.3_1712251403378_0.2373003776655347","host":"s3://npm-registry-packages"}},"1.2.4":{"name":"trpc-swagger","version":"1.2.4","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.4","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"0806a57ec4053262a306ebea8f867f68da4f52d9","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.4.tgz","fileCount":3,"integrity":"sha512-qGHb/qOztTb9GWifMhCcLxsv92NUw/WnXu5Kq+hMizYZ9rLxKHSY3dxQb/DRBlAts8m4YKrCcZs3yaS29AHWcw==","signatures":[{"sig":"MEQCIE0SyBKYZXhZUzoVVzCdYMDduwhvMcwLS+yQDuG1moJhAiA/0PoL71S9L6oUDLle7by686rSzjA3whbtIqHStwWNCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20561},"main":"build/index.js","gitHead":"6edbe02377ba01ca935ca47e4c460f6300c4484b","private":false,"scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"tsc --noEmit && jest --verbose","build":"rimraf build && tsc -p tsconfig.build.json","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint:fix":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\""},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.5.0","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"h3":"^1.11.1","co-body":"^6.1.0","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.23.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.23.8","jest":"^29.7.0","mime":"^4.0.3","next":"^14.2.3","eslint":"^8.57.0","rimraf":"^5.0.7","semver":"^7.6.2","express":"^4.19.2","fastify":"^4.27.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/mime":"^4.0.0","@types/node":"^20.12.13","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.138","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.2","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.2.0","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.11.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.11.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.4_1717089968543_0.9101697544468368","host":"s3://npm-registry-packages"}},"1.2.5":{"name":"trpc-swagger","version":"1.2.5","keywords":["trpc","openapi","swagger"],"author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.5","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"86b141f27b2efabe4c55c8705bf27dece6498b6c","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.5.tgz","fileCount":30,"integrity":"sha512-xcGgRlJJrGFcZEDHN7gEIo2cdGo4XsaTk6wj7i8FfGepxL/JatpquY+AgCDvkIN3J3h81ybYS1ZfSKozyuCzaA==","signatures":[{"sig":"MEUCIEBUwnIvUtHtN0Z60EQyoUzbYKev7AiQD8wMhViiSzGyAiEAwfldBlhklKbS3VwN3sGpkIiUuhX+xYfW3JWt8sqHtjY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":536383},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"gitHead":"cab859fe3643df49e484d8d125ab7b8c0c93a410","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"tsx prepublish.ts"},"typings":"build/index.d.ts","_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.5.0","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.1.0","chalk-scripts":"^1.2.6","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.23.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.11.0","zod":"^3.23.8","jest":"^29.7.0","mime":"^4.0.3","next":"^14.2.3","tsup":"^8.0.2","eslint":"^8.57.0","semver":"^7.6.2","express":"^4.19.2","fastify":"^4.27.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/mime":"^4.0.0","@types/node":"^20.12.13","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.138","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.2","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.2.0","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.11.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.11.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.5_1717106135027_0.8737188940985767","host":"s3://npm-registry-packages"}},"1.2.6":{"name":"trpc-swagger","version":"1.2.6","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.6","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"a6420f41e3b9c0a59897b4684cc9366c65970199","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.6.tgz","fileCount":30,"integrity":"sha512-LVh2NicwYZdaUEvshY9IF1oL02z9PWjltY0CwTslHw4mi4DcSAP4bx/FPfp5+371oj75vujjNbOjGG9grNl3Xg==","signatures":[{"sig":"MEQCIH6mYZUw22A5l0OQknYRXfKAsbRwkuNqlYiU9spVb09BAiA6S0mZ8tYxjtqu1kAlhVNG80+pRElx/2oEuBbd/l+zAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":544751},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"f5f53f9af943ba29d49cec771f8b98754d05ede1","private":false,"scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.1","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.1.0","chalk-scripts":"^1.2.8","openapi-types":"^12.1.3","node-mocks-http":"^1.14.1","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.23.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.11.0","zod":"^3.23.8","jest":"^29.7.0","mime":"^4.0.3","next":"^14.2.3","tsup":"^8.0.2","eslint":"^8.57.0","semver":"^7.6.2","express":"^4.19.2","fastify":"^4.27.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/mime":"^4.0.0","@types/node":"^20.12.13","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.138","@types/node-fetch":"^2.6.11","eslint-plugin-react":"^7.34.2","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.29.1","eslint-plugin-promise":"^6.2.0","eslint-plugin-jsx-a11y":"^6.8.0","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.11.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.11.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.6_1717168690610_0.9151148072044708","host":"s3://npm-registry-packages"}},"1.2.7":{"name":"trpc-swagger","version":"1.2.7","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.7","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"5afa338a2c62e5c73e537d4823d199b2a1e73483","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.7.tgz","fileCount":30,"integrity":"sha512-LgZ4cQ65ekTfviWxJJf1irA0DdeG/wMykaw764n7Ep8pvIAx//yqQioU0l7F8Fv4XHSuQdgKlVgbP0Cw75zhkg==","signatures":[{"sig":"MEYCIQDOtJJG1dcrzeIrFBnTcHiPdPKAbe0LBDg+Ve4fy7kPsAIhALjsCoIWXlT0vWsLTLD9cuOzP9aEfGkIKXt0ngm2bHg5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":377029},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"a93c151a84a45ec2749b9a17106337786c6eb58e","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.18.0","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.8","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","zod":"^3.24.1","jest":"^29.7.0","mime":"^4.0.4","next":"^14.2.20","tsup":"^8.3.5","eslint":"^8.57.0","semver":"^7.6.3","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.7.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.10","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.146","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.2","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.7_1734117267681_0.3761562534067562","host":"s3://npm-registry-packages-npm-production"}},"1.2.8":{"name":"trpc-swagger","version":"1.2.8","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.2.8","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"6995951ab46e44f49a33a632efef7a5142df444d","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.2.8.tgz","fileCount":30,"integrity":"sha512-FLKEq+sRjVb440cUrQP21smlnv6+D61mHNPXDYxeFiuu1rruMfbegWyqrWotN9ba4vVZt6f9J4dHp1Yxvai4Sw==","signatures":[{"sig":"MEUCIQDz8RuP8imlzB/FDf+0u0jOaMyh+i8VMmgKOkEY/r/w3gIgeJ/XwpiihxTHsfdNYJCTEWLptq5WKjVQXDUcoxmyi2U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":530480},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"3dbb8e9adcbf11b7c8e3a44a3194409a65a5f5dd","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.8","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","zod":"^3.24.1","jest":"^29.7.0","mime":"^4.0.4","next":"^14.2.20","tsup":"^8.3.5","eslint":"^8.57.0","semver":"^7.6.3","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.7.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.10","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.146","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.2","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^10.45.2","@trpc/server":"^10.45.2"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.2.8_1738002082598_0.25290995287906437","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"trpc-swagger","version":"1.4.0","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@1.4.0","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"1efc04c7ffc6888284cbc3ac7c923a255aff6e4a","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-1.4.0.tgz","fileCount":8654,"integrity":"sha512-A10TYgcCj0tW0tZmXJerU6rU9ZYl2TcznCyp3MDotf7eFzN96Y2LYHsVNr20cEGut839AFuqV1z7v547OxN8EA==","signatures":[{"sig":"MEYCIQDOcC6dtZpa4glabYksfi6Z1NT96EdN5pjP0n+dCnfC7wIhAIrKwyIIKCvveQoTj6vl1UeaYB/kyrPoBIAXbaHRz2SU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162503944},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"405e821d90c33ec3e6fdbaf7dc746864f8b218ba","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.8","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.2","zod":"^3.24.1","jest":"^29.7.0","mime":"^4.0.4","next":"^14.2.20","tsup":"^8.3.5","eslint":"^8.57.0","semver":"^7.6.3","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.7.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.10","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.146","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.2","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_1.4.0_1742838947156_0.2576083581740829","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.1":{"name":"trpc-swagger","version":"2.0.0-rc.1","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@2.0.0-rc.1","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"3d38af9b4cdbf02a42762603349abe4946ac93bd","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-2.0.0-rc.1.tgz","fileCount":30,"integrity":"sha512-nyDB+lBmSL1HkFTO5kDbwZ21+WYwmoqGVvY2sSiSSErobnlUOOQLNe16hBdWHIuRzo67uFAWSqxHTtPuUW4y5Q==","signatures":[{"sig":"MEUCIDRrmV/XdTf1Y+VaZg53WqpMmsE4if5F55H4T3r4rLm2AiEAvT6sJ8FYPYvZIF6C6ymCdW5JirqJtvQhHqQfkV4rnPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":575647},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"b808818997f23ee64e969cb9d25b1b114170bc12","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.10","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","zod":"^3.24.2","jest":"^29.7.0","mime":"^4.0.6","next":"^14.2.25","tsup":"^8.4.0","eslint":"^8.57.1","semver":"^7.7.1","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.3.0","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.27","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.148","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.4","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_2.0.0-rc.1_1742839633495_0.13406239908851103","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.2":{"name":"trpc-swagger","version":"2.0.0-rc.2","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@2.0.0-rc.2","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"078429a730cc6abed15f87525bca5cdde4404a1e","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-2.0.0-rc.2.tgz","fileCount":30,"integrity":"sha512-gdj3thkdcEKn7hsem2/29zQkjs7BcQmFkysnLATig1VtZ/2fGoK35jEb3ZBU250SN0MhzTcKh6uaTrMEL5mgIg==","signatures":[{"sig":"MEYCIQCoP8vTWDWvEgGaDF/5Ml+OhrHgx71pmrdkzco9rYYqYAIhAIza6fysGaNcBd3+zDeNMdf2ukokkZFRNXfTOr7ZrzvD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":576116},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"b808818997f23ee64e969cb9d25b1b114170bc12","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.10","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","zod":"^3.24.2","jest":"^29.7.0","mime":"^4.0.6","next":"^14.2.25","tsup":"^8.4.0","eslint":"^8.57.1","semver":"^7.7.1","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.3.0","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.27","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.148","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.4","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_2.0.0-rc.2_1742840188825_0.8289302299322494","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.3":{"name":"trpc-swagger","version":"2.0.0-rc.3","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@2.0.0-rc.3","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"1757a203286debb60775e5702415180680c75a36","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-2.0.0-rc.3.tgz","fileCount":30,"integrity":"sha512-auTvKF0P/+eKV7JJFmu1xPeRftEZcfdpiMa2ehxx9ffYvlbMsx18chL8o/X2li1KK2/ehPXoYY8E1Ya9w6cVAw==","signatures":[{"sig":"MEYCIQCJIXj8C7NbLaZpGpK4JvM8ZM2hmhwjfSWJL7tFZ7j3swIhAK0aiFErqmFtl19Fb4otCt0Pm2x3lrIl4HZj6wNKE85o","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":576439},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"2680775302d8c265f271de2a3bea9bf31d3e7222","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.10","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","zod":"^3.24.2","jest":"^29.7.0","mime":"^4.0.6","next":"^14.2.25","tsup":"^8.4.0","eslint":"^8.57.1","semver":"^7.7.1","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.3.0","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.27","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.148","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.4","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_2.0.0-rc.3_1742840743347_0.21100383637373143","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.5":{"name":"trpc-swagger","version":"2.0.0-rc.5","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@2.0.0-rc.5","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"827e60ec5c2e458043f5b44652ea3b47e9812fe6","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-2.0.0-rc.5.tgz","fileCount":30,"integrity":"sha512-XrExeef19wWlmTJ5veW+sr48d/fiDzZgZxAvt17pz1JeFpiFhuuD8A/Rzzh0sp4iYbtIq11nzJW63EZX9itkog==","signatures":[{"sig":"MEUCIQDz0y8ujDY28wi+8gWA1JHsHB8UYnpg3ChXo21/X0ZpLQIgJKSGUhnxaMgKQi/ElKI4moa18QnFig4MFxbFEI15e7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":578023},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"2680775302d8c265f271de2a3bea9bf31d3e7222","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.10","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","zod":"^3.24.2","jest":"^29.7.0","mime":"^4.0.6","next":"^14.2.25","tsup":"^8.4.0","eslint":"^8.57.1","semver":"^7.7.1","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.3.0","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.27","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.148","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.4","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_2.0.0-rc.5_1742842317953_0.8819302246946645","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"trpc-swagger","version":"2.0.0","author":{"name":"https://github.com/vercjames"},"license":"MIT","_id":"trpc-swagger@2.0.0","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"dist":{"shasum":"7b3f2286510ab0f3bed8e86fe65b063db1fc5141","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-2.0.0.tgz","fileCount":30,"integrity":"sha512-yE4KZ+p3DYqO5xA1D3e1Ac4pPifrSnJEact5lMHn+njoeRLFSKInSb+OBVkjE1DkWje5rwzl6kRgXExL/HOw3Q==","signatures":[{"sig":"MEQCIEfKGwrN2MtZX9tcmKh3VwVcUjeN2LfV85rXNS38DJOXAiAiRxWr191x88xR3MiJFkaoQ5MoUQ3s69PxHl2jeQMcYA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":578018},"main":"build/index.js","tsup":{"clean":true,"entry":["packages/index.ts"],"outDir":"build","sourcemap":true,"splitting":true},"types":"build/index.d.ts","gitHead":"54512dad26c548dfd1298965e4b41d28be88488f","scripts":{"lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts","build":"tsup --format cjs,esm --dts","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","prepublishOnly":"rimraf build && yarn build"},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"repository":{"url":"git+https://github.com/vercjames/package-trpc-swagger.git","type":"git"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"_npmVersion":"10.8.2","description":"tRPC Swagger Wrapper","directories":{},"_nodeVersion":"20.12.2","dependencies":{"co-body":"^6.2.0","chalk-scripts":"^1.2.10","openapi-types":"^12.1.3","node-mocks-http":"^1.16.2","lodash.clonedeep":"^4.5.0","zod-to-json-schema":"^3.24.5"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","zod":"^3.24.2","jest":"^29.7.0","mime":"^4.0.6","next":"^14.2.25","tsup":"^8.4.0","eslint":"^8.57.1","semver":"^7.7.1","express":"^4.21.2","fastify":"^4.29.0","ts-jest":"^29.3.0","ts-node":"^10.9.2","superjson":"^1.13.3","aws-lambda":"^1.0.7","node-fetch":"^2.7.0","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/mime":"^4.0.0","@types/node":"^20.17.27","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","@types/co-body":"^6.1.3","@types/express":"^4.17.21","@types/aws-lambda":"^8.10.148","@types/node-fetch":"^2.6.12","eslint-plugin-react":"^7.37.4","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.31.0","eslint-plugin-promise":"^6.6.0","eslint-plugin-jsx-a11y":"^6.10.2","@types/lodash.clonedeep":"^4.5.9","openapi-schema-validator":"^12.1.3","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"zod":"^3.14.4","@trpc/client":"^11.0.0","@trpc/server":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trpc-swagger_2.0.0_1742849971902_0.8631180067064252","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"trpc-swagger","license":"MIT","version":"2.0.1","description":"tRPC Swagger Wrapper","author":{"name":"https://github.com/vercjames"},"homepage":"https://github.com/vercjames/package-trpc-swagger","bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"main":"build/index.js","types":"build/index.d.ts","private":false,"repository":{"type":"git","url":"git+https://github.com/vercjames/package-trpc-swagger.git"},"scripts":{"build":"tsup --format cjs,esm --dts","prepublishOnly":"rimraf build && yarn build","format":"eslint --fix \"./packages/**/*.{js,jsx,ts,tsx}\"","lint":"eslint \"./packages/**/*.{js,jsx,ts,tsx}\"","test":"node --experimental-modules --experimental-vm-modules node_modules/.bin/jest --config jest.config.ts"},"workspaces":[".","examples/with-express","examples/with-fastify","examples/with-interop","examples/with-nextjs","examples/with-nextjs-app","examples/with-nuxtjs","examples/with-serverless"],"peerDependencies":{"@trpc/client":"^11.0.0","@trpc/server":"^11.0.0","zod":"^3.14.4"},"dependencies":{"chalk-scripts":"^2.0.0","co-body":"^6.2.0","lodash.clonedeep":"^4.5.0","node-mocks-http":"^1.17.2","openapi-types":"^12.1.3","zod-to-json-schema":"^3.25.2"},"devDependencies":{"@trpc/client":"^11.17.0","@trpc/server":"^11.17.0","@types/aws-lambda":"^8.10.162","@types/co-body":"^6.1.3","@types/express":"^4.17.25","@types/jest":"^29.5.14","@types/lodash.clonedeep":"^4.5.9","@types/mime":"^4.0.0","@types/node":"^20.19.42","@types/node-fetch":"^2.6.13","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","aws-lambda":"^1.0.7","eslint":"^8.57.1","eslint-config-airbnb":"19.0.4","eslint-plugin-import":"^2.32.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-promise":"^6.6.0","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^4.6.2","express":"^4.22.2","fastify":"^4.29.1","jest":"^29.7.0","mime":"^4.1.0","next":"^14.2.35","node-fetch":"^2.7.0","openapi-schema-validator":"^12.1.3","semver":"^7.8.4","superjson":"^1.13.3","ts-jest":"^29.4.11","ts-node":"^10.9.2","tsup":"^8.5.1","tsx":"^4.22.4","typescript":"^5.9.3","zod":"^3.25.76"},"tsup":{"entry":["packages/index.ts"],"outDir":"build","splitting":true,"sourcemap":true,"clean":true},"_id":"trpc-swagger@2.0.1","gitHead":"46709d5bf1ca9b03c4e9eb3d66593e562144c339","_nodeVersion":"24.7.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-2RXMgPkGKBL7E7frQIARJvWOV7izQH3W8N40lY7FQ7AV4WRbdIDl7ym86qPzpkeFifbPBhLV6j8ic3Ihgq/kSQ==","shasum":"dff9b35ccdb0ffafbb67bf08b04f283569d2c1cb","tarball":"https://registry.npmjs.org/trpc-swagger/-/trpc-swagger-2.0.1.tgz","fileCount":30,"unpackedSize":578791,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHYWJcA6AtRO4MM3VnyiMXgh/qhnX3k5goWHHQT/41zGAiA5qGzdGOFL+hlBhlAoD8NnATxNSvTe9e3JTJlJToLcVg=="}]},"_npmUser":{"name":"vercjames","email":"vercjames@gmail.com"},"directories":{},"maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trpc-swagger_2.0.1_1781108283609_0.6625433172132724"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-19T21:37:02.621Z","modified":"2026-06-10T16:18:03.910Z","0.0.1":"2024-03-19T21:37:02.768Z","0.0.2":"2024-03-19T21:38:02.649Z","1.0.0":"2024-03-20T21:55:05.441Z","1.0.1":"2024-03-20T22:40:35.733Z","1.1.0":"2024-03-21T17:16:00.307Z","1.1.2":"2024-03-21T18:14:38.985Z","1.2.0":"2024-03-21T19:23:27.779Z","1.2.1":"2024-04-02T14:42:08.834Z","1.2.2":"2024-04-02T14:52:37.469Z","1.2.3":"2024-04-04T17:23:23.543Z","1.2.4":"2024-05-30T17:26:08.701Z","1.2.5":"2024-05-30T21:55:35.232Z","1.2.6":"2024-05-31T15:18:10.810Z","1.2.7":"2024-12-13T19:14:27.944Z","1.2.8":"2025-01-27T18:21:22.783Z","1.3.0":"2025-03-14T14:23:57.576Z","1.3.0-rc":"2025-03-17T15:22:35.291Z","1.3.0-rc.1":"2025-03-17T18:35:52.278Z","1.3.1":"2025-03-19T17:03:02.883Z","1.3.2":"2025-03-21T18:15:45.889Z","1.3.3":"2025-03-21T18:41:48.950Z","1.3.4":"2025-03-21T18:44:53.965Z","1.3.5":"2025-03-21T18:46:39.912Z","1.4.0":"2025-03-24T17:55:47.755Z","2.0.0-rc.1":"2025-03-24T18:07:13.681Z","2.0.0-rc.2":"2025-03-24T18:16:29.007Z","2.0.0-rc.3":"2025-03-24T18:25:43.606Z","2.0.0-rc.5":"2025-03-24T18:51:58.245Z","2.0.0":"2025-03-24T20:59:32.160Z","2.0.1":"2026-06-10T16:18:03.816Z"},"bugs":{"url":"https://github.com/vercjames/package-trpc-swagger/issues"},"author":{"name":"https://github.com/vercjames"},"license":"MIT","homepage":"https://github.com/vercjames/package-trpc-swagger","repository":{"type":"git","url":"git+https://github.com/vercjames/package-trpc-swagger.git"},"description":"tRPC Swagger Wrapper","maintainers":[{"name":"vercjames","email":"vercjames@gmail.com"}],"readme":"![trpc-swagger](assets/trpc-swagger-readme.png)\n\n<div align=\"center\">\n  <h1>trpc-swagger</h1>\n  <a href=\"https://www.npmjs.com/package/trpc-swagger\"><img src=\"https://img.shields.io/npm/v/trpc-swagger.svg?style=flat&color=brightgreen\" target=\"_blank\" /></a>\n  <a href=\"./LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-black\" /></a>\n  <a href=\"https://trpc.io/discord\" target=\"_blank\"><img src=\"https://img.shields.io/badge/chat-discord-blue.svg\" /></a>\n  <br />\n  <hr />\n</div>\n\n\n## **[Swagger](https://swagger.io/specification/) integration for [tRPC](https://trpc.io/)** \n\n- Easy REST endpoints for your tRPC procedures.\n- Perfect for incremental adoption.\n- OpenAPI version 3.0.3.\n\n## Fork Notice\nThe original repo [trpc-openapi](https://github.com/James/trpc-openapi) no longer appears to be maintained. \nThe goal of this fork is to add more control for error responses, support more frameworks, and support the new procedure types in @trpc v11.x.x.\nPRs Are welcome\n\n\n## TRPC v10\nfor those looking for tRPC v10 - please use version ^1.2.8\n\n## TRPC v11\nfor those looking for tRPC v11 - please use version ^2.0.0\n\n\n## Local Examples\nIf you've pulled the repo. you can run any of the example projects by first running these 2 commands:\n```\nyarn install\n```\n```\nyarn build\n```\nThen select a workspace\n```bash\nyarn workspace with-[WORKSPACE_NAME] run dev\n```\nErgo\n```yaml\nyarn workspace with-nextjs-app run dev\nyarn workspace with-nextjs-app run build\n```\n\n## Usage\n\n**1. Install `trpc-swagger`**\n\n```bash\nnpm install trpc-swagger --save\n```\n```bash\nyarn add trpc-swagger\n```\n```bash\npnpm add trpc-swagger\n```\n```bash\nbun add trpc-swagger\n```\n\n**2. Add `OpenApiMeta` to your tRPC instance**\n\n```typescript\n// @/server/trpc.ts\nimport { initTRPC } from '@trpc/server'\nimport { OpenApiMeta } from 'trpc-swagger'\n\n// VERC: This\nconst t = initTRPC.create()\n\n// VERC: Becomes\nconst t = initTRPC.meta<OpenApiMeta>().create()\n\n// VERC: Advanced create configs\nconst t = initTRPC.meta<OpenApiMeta>().create({ ... })\n```\n\n**3. Enable `openapi` support for a procedure.**\n\n\n```typescript\n// @/server/index.ts\nexport const appRouter = t.router({\n  sayHello: t.procedure\n    .meta({ \n      openapi: { method: 'GET', path: '/say-hello' } \n    })\n    .input(z.object({ \n      name: z.string() \n    }))\n    .output(z.object({ \n      greeting: z.string() \n    }))\n    .query(({ input }) => {\n      return { greeting: `Hello ${input.name}!` }\n    })\n})\n```\n\n**4. Generate an OpenAPI document.**\n\n```typescript\n// @/server/swagger.ts\nimport { generateOpenApiDocument } from 'trpc-swagger'\nimport { appRouter } from './appRouter'\n\n/* 👇 */\nexport const openApiDocument = generateOpenApiDocument(appRouter, {\n  title: 'tRPC Swagger',\n  version: '1.0.0', // consider making this pull version from package.json\n  baseUrl: 'http://localhost:3000', // consider making this dynamic\n  docsUrl: \"https://github.com/vercjames/package-trpc-swagger\",\n  tags: [\"tag1\", \"tag2\", \"tag3\", \"posts\"],\n})\n```\n\n**5. Add an `trpc-swagger` handler to your app.**\n\nWe currently support adapters for [`Express`](http://expressjs.com/), [`Next.js`](https://nextjs.org/),  [`Next.js 14`](https://nextjs.org/), [`Serverless`](https://www.serverless.com/), [`Fastify`](https://www.fastify.io/), [`Nuxt`](https://nuxtjs.org/) & [`Node:HTTP`](https://nodejs.org/api/http.html).\n\n```typescript\nimport http from 'http'\nimport { createOpenApiHttpHandler } from 'trpc-swagger'\n\nimport { appRouter } from '../appRouter'\n\nconst server = http.createServer(createOpenApiHttpHandler({ router: appRouter })) /* 👈 */\n\nserver.listen(3000)\n```\n\n**6. Profit 🤑**\n\n```typescript\n// client.ts\nconst res = await fetch('http://localhost:3000/say-hello?name=Verc', { method: 'GET' })\nconst body = await res.json() /* { greeting: 'Hello Verc!' } */\n```\n\n## Requirements\n\n**Peer dependencies**\n\nYour application requires these 2 packages installed\n- [`tRPC`](https://github.com/trpc/trpc) Server v110 (`@trpc/server`) must be installed.\n- [`Zod`](https://github.com/colinhacks/zod) v3 (`zod@^3.14.4`) must be installed (recommended `^3.20.0`).\n\n\n**Procedure support**\n\nFor a procedure to support OpenAPI the following _must_ be true:\n\n- Both `input` and `output` parsers are present AND use `Zod` validation.\n- Query `input` parsers extend `Object<{ [string]: String | Number | BigInt | Date }>` or `Void`.\n- Mutation `input` parsers extend `Object<{ [string]: AnyType }>` or `Void`.\n- `meta.openapi.method` is `GET`, `POST`, `PATCH`, `PUT` or `DELETE`.\n- `meta.openapi.path` is a string starting with `/`.\n- `meta.openapi.path` parameters exist in `input` parser as `String | Number | BigInt | Date`\n\nPlease note:\n\n- Data [`transformers`](https://trpc.io/docs/data-transformers) (such as `superjson`) are ignored.\n- Trailing slashes are ignored.\n- Routing is case-insensitive.\n\n## HTTP Requests\n\nProcedures with a `GET`/`DELETE` method will accept inputs via URL `query parameters`. Procedures with a `POST`/`PATCH`/`PUT` method will accept inputs via the `request body` with a `application/json` or `application/x-www-form-urlencoded` content type.\n\n### Path parameters\n\nA procedure can accept a set of inputs via URL path parameters. You can add a path parameter to any OpenAPI procedure by using curly brackets around an input name as a path segment in the `meta.openapi.path` field.\n\n### Query parameters\n\nQuery & path parameter inputs are always accepted as a `string`. This library will attempt to [coerce](https://github.com/colinhacks/zod#coercion-for-primitives) your input values to the following primitive types out of the box: `number`, `boolean`, `bigint` and `date`. If you wish to support others such as `object`, `array` etc. please use [`z.preprocess()`](https://github.com/colinhacks/zod#preprocess).\n\n```typescript\n// Router\nexport const appRouter = t.router({\n  sayHello: t.procedure\n    .meta({ openapi: { method: 'GET', path: '/say-hello/{name}' /* 👈 */ } })\n    .input(z.object({ name: z.string() /* 👈 */, greeting: z.string() }))\n    .output(z.object({ greeting: z.string() }))\n    .query(({ input }) => {\n      return { greeting: `${input.greeting} ${input.name}!` }\n    })\n})\n\n// Client\nconst res = await fetch('http://localhost:3000/say-hello/Verc?greeting=Hello' /* 👈 */, {\n  method: 'GET',\n})\nconst body = await res.json() /* { greeting: 'Hello Verc!' } */\n```\n\n### Request body\n\n```typescript\n// Router\nexport const appRouter = t.router({\n  sayHello: t.procedure\n    .meta({ openapi: { method: 'POST', path: '/say-hello/{name}' /* 👈 */ } })\n    .input(z.object({ name: z.string() /* 👈 */, greeting: z.string() }))\n    .output(z.object({ greeting: z.string() }))\n    .mutation(({ input }) => {\n      return { greeting: `${input.greeting} ${input.name}!` }\n    })\n})\n\n// Client\nconst res = await fetch('http://localhost:3000/say-hello/Verc' /* 👈 */, {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json' },\n  body: JSON.stringify({ greeting: 'Hello' }),\n})\nconst body = await res.json() /* { greeting: 'Hello Verc!' } */\n```\n\n### Custom headers\n\nAny custom headers can be specified in the `meta.openapi.headers` array, these headers will not be validated on request. Please consider using [Authorization](#authorization) for first-class OpenAPI auth/security support.\n\n## HTTP Responses\n\nStatus codes will be `200` by default for any successful requests. In the case of an error, the status code will be derived from the thrown `TRPCError` or fallback to `500`.\n\nYou can modify the status code or headers for any response using the `responseMeta` function. Extra responses can be documented in the `meta.openapi.extraResponses` field.\n\n```typescript\n// Router\nexport const appRouter = t.router({\n  sayHello: t.procedure\n    .meta({ openapi: {\n      method: 'POST',\n      path: '/say-hello/{name}',\n      extraResponses: {\n          400: {\n            description: 'Bad request',\n            content: z.object({ reason: z.string().describe(\"The reason\") }),\n          },\n      }\n    }})\n    .input(z.object({ name: z.string(), greeting: z.string() }))\n    .output(z.object({ greeting: z.string() }))\n    .mutation(({ input }) => {\n      return { greeting: `${input.greeting} ${input.name}!` }\n    })\n})\n\n```\n\nPlease see [error status codes here](packages/adapters/node-http/errors.ts).\n\n## Authorization\n\nTo create protected endpoints, add `protect: true` to the `meta.openapi` object of each tRPC procedure. By default, you can then authenticate each request with the `createContext` function using the `Authorization` header with the `Bearer` scheme. If you wish to authenticate requests using a different/additional methods (such as custom headers, or cookies) this can be overwritten by specifying `securitySchemes` object.\n\nExplore a [complete example here](examples/with-nextjs/src/server/router.ts).\n\n#### Server\n\n```typescript\nimport { TRPCError, initTRPC } from '@trpc/server'\nimport { OpenApiMeta } from 'trpc-swagger'\n\ntype User = { id: string, name: string }\n\nconst users: User[] = [\n  {\n    id: 'usr_123',\n    name: 'Verc',\n  },\n]\n\nexport type Context = { user: User | null }\n\nexport const createContext = async ({ req, res }): Promise<Context> => {\n  let user: User | null = null\n  if (req.headers.authorization) {\n    const userId = req.headers.authorization.split(' ')[1]\n    user = users.find((_user) => _user.id === userId)\n  }\n  return { user }\n}\n\nconst t = initTRPC.context<Context>().meta<OpenApiMeta>().create()\n\nexport const appRouter = t.router({\n  sayHello: t.procedure\n    .meta({ openapi: { method: 'GET', path: '/say-hello', protect: true /* 👈 */ } })\n    .input(z.void()) // no input expected\n    .output(z.object({ greeting: z.string() }))\n    .query(({ input, ctx }) => {\n      if (!ctx.user) {\n        throw new TRPCError({ message: 'User not found', code: 'UNAUTHORIZED' })\n      }\n      return { greeting: `Hello ${ctx.user.name}!` }\n    }),\n})\n```\n\n#### Client\n\n```typescript\nconst res = await fetch('http://localhost:3000/say-hello', {\n  method: 'GET',\n  headers: { Authorization: 'Bearer usr_123' } /* 👈 */,\n})\nconst body = await res.json() /* { greeting: 'Hello Verc!' } */\n```\n\n## Examples\n\n_For advanced use-cases, please find examples in our [complete test suite](tests)._\n\n#### With Express\n\nPlease see [full example here](examples/with-express).\n\n```typescript\nimport { createExpressMiddleware } from '@trpc/server/adapters/express'\nimport express from 'express'\nimport { createOpenApiExpressMiddleware } from 'trpc-swagger'\n\nimport { appRouter } from '../appRouter'\n\nconst app = express()\n\napp.use('/api/trpc', createExpressMiddleware({ router: appRouter }))\napp.use('/api', createOpenApiExpressMiddleware({ router: appRouter })) /* 👈 */\n\napp.listen(3000)\n```\n\n#### With Next.js\n\nPlease see [full example here](examples/with-nextjs).\n\n```typescript\n// pages/api/[...trpc].ts\nimport { createOpenApiNextHandler } from 'trpc-swagger'\n\nimport { appRouter } from '../../server/appRouter'\n\nexport default createOpenApiNextHandler({ router: appRouter })\n```\n\n#### With AWS Lambda\n\nPlease see [full example here](examples/with-serverless).\n\n```typescript\nimport { createOpenApiAwsLambdaHandler } from 'trpc-swagger'\n\nimport { appRouter } from './appRouter'\n\nexport const openApi = createOpenApiAwsLambdaHandler({ router: appRouter })\n```\n\n#### With Fastify\n\nPlease see [full example here](examples/with-fastify).\n\n```typescript\nimport { fastifyTRPCPlugin } from '@trpc/server/adapters/fastify'\nimport Fastify from 'fastify'\nimport { fastifyTRPCOpenApiPlugin } from 'trpc-swagger'\n\nimport { appRouter } from './router'\n\nconst fastify = Fastify()\n\nasync function main() {\n  await fastify.register(fastifyTRPCPlugin, { router: appRouter })\n  await fastify.register(fastifyTRPCOpenApiPlugin, { router: appRouter }) /* 👈 */\n\n  await fastify.listen({ port: 3000 })\n}\n\nmain()\n```\n\n## Types\n\n#### GenerateOpenApiDocumentOptions\n\nPlease see [full typings here](packages/generator/index.ts).\n\n| Property          | Type                                   | Description                                             | Required |\n| ----------------- | -------------------------------------- | ------------------------------------------------------- | -------- |\n| `title`           | `string`                               | The title of the API.                                   | `true`   |\n| `description`     | `string`                               | A short description of the API.                         | `false`  |\n| `version`         | `string`                               | The version of the OpenAPI document.                    | `true`   |\n| `baseUrl`         | `string`                               | The base URL of the target server.                      | `true`   |\n| `docsUrl`         | `string`                               | A URL to any external documentation.                    | `false`  |\n| `tags`            | `string[]`                             | A list for ordering endpoint groups.                    | `false`  |\n| `securitySchemes` | `Record<string, SecuritySchemeObject>` | Defaults to `Authorization` header with `Bearer` scheme | `false`  |\n\n#### OpenApiMeta\n\nPlease see [full typings here](packages/types.ts).\n\n| Property         | Type                               | Description                                                                                                        | Required | Default                |\n| ---------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------ | -------- | ---------------------- |\n| `enabled`        | `boolean`                          | Exposes this procedure to `trpc-swagger` adapters and on the OpenAPI document.                                     | `false`  | `true`                 |\n| `method`         | `HttpMethod`                       | HTTP method this endpoint is exposed on. Value can be `GET`, `POST`, `PATCH`, `PUT` or `DELETE`.                   | `true`   | `undefined`            |\n| `path`           | `string`                           | Pathname this endpoint is exposed on. Value must start with `/`, specify path parameters using `{}`.               | `true`   | `undefined`            |\n| `protect`        | `boolean`                          | Requires this endpoint to use a security scheme.                                                                   | `false`  | `false`                |\n| `summary`        | `string`                           | A short summary of the endpoint included in the OpenAPI document.                                                  | `false`  | `undefined`            |\n| `description`    | `string`                           | A verbose description of the endpoint included in the OpenAPI document.                                            | `false`  | `undefined`            |\n| `tags`           | `string[]`                         | A list of tags used for logical grouping of endpoints in the OpenAPI document.                                     | `false`  | `undefined`            |\n| `headers`        | `ParameterObject[]`                | An array of custom headers to add for this endpoint in the OpenAPI document.                                       | `false`  | `undefined`            |\n| `contentTypes`   | `ContentType[]`                    | A set of content types specified as accepted in the OpenAPI document.                                              | `false`  | `['application/json']` |\n| `extraResponses` | `ResponsesObject`* | An array of custom responses to add for this endpoint in the OpenAPI document in addition to the default response. | `false`  | `undefined`            |\n| `deprecated`     | `boolean`                          | Whether or not to mark an endpoint as deprecated                                                                   | `false`  | `false`                |\n\n* _The `content` field in ResponsesObject is expected to be a `z.ZodType`_\n\n#### CreateOpenApiNodeHttpHandlerOptions\n\nPlease see [full typings here](packages/adapters/node-http/core.ts).\n\n| Property        | Type       | Description                                            | Required |\n| --------------- | ---------- | ------------------------------------------------------ | -------- |\n| `router`        | `Router`   | Your application tRPC router.                          | `true`   |\n| `createContext` | `Function` | Passes contextual (`ctx`) data to procedure resolvers. | `false`  |\n| `responseMeta`  | `Function` | Returns any modifications to statusCode & headers.     | `false`  |\n| `onError`       | `Function` | Called if error occurs inside handler.                 | `false`  |\n| `maxBodySize`   | `number`   | Maximum request body size in bytes (default: 100kb).   | `false`  |\n\n---\n\n_Still using tRPC v9? See our [`.interop()`](examples/with-interop) example._\n\n## Publishing to npm\n\n> Maintainers only. The package is published from the repo root as [`trpc-swagger`](https://www.npmjs.com/package/trpc-swagger).\n\n**1. Authenticate with npm**\n\nYou must be logged in as a maintainer of the `trpc-swagger` package.\n\n```bash\nnpm whoami   # confirm you're logged in — otherwise run: npm login\n```\n\n**2. Bump the version**\n\nUpdate `version` in `package.json` following [semver](https://semver.org/) (e.g. `2.0.1` → `2.0.2`).\n\n**3. Temporarily disable `private`**\n\nThe root `package.json` sets `\"private\": true` because Yarn workspaces (the `examples/*` projects) require it. npm refuses to publish private packages, so flip it just for the release:\n\n```jsonc\n// package.json\n\"private\": false\n```\n\n**4. Preview the tarball**\n\nThe `prepublishOnly` script automatically runs `rimraf build && yarn build`, so the dist is rebuilt on publish. Preview exactly what will ship first:\n\n```bash\nnpm publish --dry-run\n```\n\nOnly `build/`, `packages/`, `package.json`, `LICENSE`, and `README.md` are included — the `examples/` are excluded (see `.npmignore`).\n\n**5. Publish**\n\n```bash\nnpm publish\n```\n\n`trpc-swagger` is unscoped, so it publishes publicly by default.\n\n**6. Restore `\"private\": true`**\n\nSet it back so Yarn workspaces keep working locally, then commit the bump and tag the release:\n\n```bash\ngit commit -am \"vX.Y.Z\"\ngit tag vX.Y.Z\ngit push --follow-tags\n```\n\n## License\n\nDistributed under the MIT License. See LICENSE for more information.\n","readmeFilename":"README.md"}