zod-openapi
Version:
Convert Zod Schemas to OpenAPI v3.x documentation
88 lines • 2.3 kB
JSON
{
"name": "zod-openapi",
"version": "5.3.1",
"description": "Convert Zod Schemas to OpenAPI v3.x documentation",
"keywords": [
"typescript",
"json-schema",
"swagger",
"openapi",
"openapi3",
"zod",
"zod-openapi"
],
"homepage": "https://github.com/samchungy/zod-openapi#readme",
"bugs": {
"url": "https://github.com/samchungy/zod-openapi/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/samchungy/zod-openapi.git"
},
"funding": "https://github.com/samchungy/zod-openapi?sponsor=1",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./api": {
"import": "./dist/api.js",
"require": "./dist/api.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.cts",
"files": [
"dist",
"api"
],
"devDependencies": {
"@arethetypeswrong/cli": "0.18.2",
"@changesets/changelog-github": "0.5.1",
"@changesets/cli": "2.29.5",
"@redocly/cli": "2.0.2",
"@types/node": "22.15.21",
"@vitest/coverage-v8": "3.2.4",
"@zod-openapi/openapi3-ts": "1.0.0",
"ajv": "8.17.1",
"eslint-plugin-import-zod": "1.2.0",
"eslint-plugin-zod-openapi": "2.0.0",
"skuba": "12.0.2",
"tsdown": "0.13.2",
"vitest": "3.2.4",
"yaml": "2.8.0",
"zod": "4.0.14"
},
"peerDependencies": {
"zod": "^3.25.74 || ^4.0.0"
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"provenance": true,
"registry": "https://registry.npmjs.org/"
},
"skuba": {
"entryPoint": "src/index.ts",
"template": "oss-npm-package",
"type": "package",
"version": "11.0.0"
},
"scripts": {
"build": "pnpm -r build && tsdown",
"copy:types": "skuba node scripts/copyTypes.ts",
"create:docs": " skuba node examples/simple/createSchema.ts && redocly build-docs examples/simple/openapi.yml --output=examples/simple/redoc-static.html",
"format": "skuba format",
"lint": "skuba lint",
"release": "pnpm build && changeset publish",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test:watch": "vitest"
}
}