@asteasolutions/zod-to-openapi
Version:
Builds OpenAPI schemas from Zod schemas
51 lines (50 loc) • 1.14 kB
JSON
{
"name": "@asteasolutions/zod-to-openapi",
"version": "4.8.0",
"description": "Builds OpenAPI schemas from Zod schemas",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"package.json",
"LICENSE",
"README.md"
],
"keywords": [
"typescript",
"schema",
"type",
"openapi",
"zod"
],
"repository": {
"type": "git",
"url": "https://github.com/asteasolutions/zod-to-openapi"
},
"homepage": "https://github.com/asteasolutions/zod-to-openapi",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepare": "npm run build",
"test": "jest",
"prettier": "prettier --write .",
"lint": "prettier --check .",
"prepublishOnly": "npm run build"
},
"dependencies": {
"openapi3-ts": "^4.1.2"
},
"peerDependencies": {
"zod": "^3.20.2"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"typescript": "^4.6.3",
"yaml": "^2.2.2",
"zod": "^3.20.2"
},
"author": "Astea Solutions <info@asteasolutions.com>",
"license": "MIT"
}