UNPKG

hono-zod-openapi

Version:

Alternative Hono middleware for creating OpenAPI documentation from Zod schemas

61 lines 1.51 kB
{ "name": "hono-zod-openapi", "version": "0.5.0", "description": "Alternative Hono middleware for creating OpenAPI documentation from Zod schemas", "author": "Paweł Dąbrowski <dabrowskip9@gmail.com>", "homepage": "https://github.com/paolostyle/hono-zod-openapi#readme", "bugs": { "url": "https://github.com/paolostyle/hono-zod-openapi/issues" }, "repository": "github:paolostyle/hono-zod-openapi", "license": "MIT", "keywords": [ "hono", "zod", "openapi", "documentation", "middleware", "swagger", "typescript" ], "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "files": [ "dist" ], "dependencies": { "@hono/zod-validator": "^0.4.1", "zod-openapi": "^4.0.0" }, "peerDependencies": { "hono": "^4.6.10", "zod": "^3.21.4" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@hono/node-server": "^1.13.7", "@hono/swagger-ui": "^0.4.1", "@types/node": "^22.9.0", "@vitest/coverage-v8": "^2.1.4", "@vitest/ui": "^2.1.4", "husky": "^9.1.6", "tsup": "^8.3.5", "tsx": "^4.19.2", "typescript": "^5.6.3", "vitest": "^2.1.4" }, "scripts": { "build": "tsup src/index.ts --format esm --dts", "lint": "biome check", "lint:fix": "biome check --fix --unsafe", "test": "vitest --typecheck", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "typecheck": "tsc" } }