UNPKG

fastify-zod-openapi

Version:
96 lines 2.3 kB
{ "name": "fastify-zod-openapi", "version": "5.6.1", "description": "Fastify plugin for zod-openapi", "keywords": [ "typescript", "json-schema", "swagger", "openapi", "openapi3", "zod", "zod-openapi", "fastify", "plugin", "type", "provider" ], "homepage": "https://github.com/samchungy/fastify-zod-openapi#readme", "bugs": { "url": "https://github.com/samchungy/fastify-zod-openapi/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/samchungy/fastify-zod-openapi.git" }, "license": "MIT", "sideEffects": false, "type": "module", "exports": { ".": { "import": "./lib/index.mjs", "require": "./lib/index.cjs" }, "./package.json": "./package.json" }, "main": "./lib/index.cjs", "module": "./lib/index.mjs", "types": "./lib/index.d.cts", "files": [ "lib" ], "dependencies": { "@fastify/error": "^4.0.0", "fast-json-stringify": "^6.0.0", "fastify-plugin": "^5.0.0", "zod-openapi": "^5.4.0" }, "devDependencies": { "@changesets/changelog-github": "0.6.0", "@changesets/cli": "2.30.0", "@fastify/swagger": "9.5.1", "@fastify/swagger-ui": "5.2.3", "@fastify/under-pressure": "9.0.3", "@types/node": "24.3.0", "@vitest/coverage-v8": "4.1.1", "eslint-plugin-import-zod": "1.2.1", "eslint-plugin-zod-openapi": "2.0.0", "fastify": "5.5.0", "skuba": "15.3.0", "vitest": "4.1.1", "zod": "4.3.6" }, "peerDependencies": { "@fastify/swagger": "^9.0.0", "@fastify/swagger-ui": "^5.0.1", "fastify": "5", "zod": "^3.25.74 || ^4.0.0" }, "peerDependenciesMeta": { "@fastify/swagger": { "optional": true }, "@fastify/swagger-ui": { "optional": true } }, "engines": { "node": ">=20" }, "skuba": { "entryPoint": "src/index.ts", "template": "oss-npm-package", "type": "package", "version": "15.3.0" }, "scripts": { "build": "skuba build-package", "format": "skuba format", "lint": "skuba lint", "release": "pnpm build && changeset publish", "start": "skuba node --port=5678 examples/openapi.ts", "test": "vitest", "test:ci": "vitest --coverage", "test:watch": "skuba test --watch" } }