├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── CODEOWNERS ├── LICENSE ├── README.md ├── biome.json ├── package.json ├── src ├── core.ts ├── errors.ts ├── index.ts ├── json-to-oas.ts └── zod-to-json.ts ├── test ├── __snapshots__ │ └── fastify-swagger.spec.ts.snap ├── fastify-swagger.spec.ts ├── request-schema-error-handler.spec.ts ├── request-schema.spec.ts └── response-schema.spec.ts ├── tsconfig.json ├── types ├── error.test-d.ts ├── index.test-d.ts └── plugin.test-d.ts ├── vite.config.ts └── vitest.config.ts /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | package-lock.json 4 | /.idea/ 5 | /coverage/ 6 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/README.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/biome.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/package.json -------------------------------------------------------------------------------- /src/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/src/core.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/json-to-oas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/src/json-to-oas.ts -------------------------------------------------------------------------------- /src/zod-to-json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/src/zod-to-json.ts -------------------------------------------------------------------------------- /test/__snapshots__/fastify-swagger.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/test/__snapshots__/fastify-swagger.spec.ts.snap -------------------------------------------------------------------------------- /test/fastify-swagger.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/test/fastify-swagger.spec.ts -------------------------------------------------------------------------------- /test/request-schema-error-handler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/test/request-schema-error-handler.spec.ts -------------------------------------------------------------------------------- /test/request-schema.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/test/request-schema.spec.ts -------------------------------------------------------------------------------- /test/response-schema.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/test/response-schema.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/error.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/types/error.test-d.ts -------------------------------------------------------------------------------- /types/index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/types/index.test-d.ts -------------------------------------------------------------------------------- /types/plugin.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/types/plugin.test-d.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turkerdev/fastify-type-provider-zod/HEAD/vitest.config.ts --------------------------------------------------------------------------------