{"library":"chanfana","type":"library","category":null,"description":"chanfana (formerly itty-router-openapi) is a library that adds OpenAPI 3 and 3.1 schema generation and validation to any router, primarily targeting Hono and itty-router. Version 3.3.0, released by Cloudflare, emphasizes Cloudflare Workers but works on any runtime. Key differentiators: Zod v4 compatible with full TypeScript inference, class-based endpoints, CLI to extract schema, and extending existing apps without modifying old routes. Release cadence is active with frequent updates. Pairs with Hono, itty-router, and zod.","language":"javascript","status":"active","version":"3.3.0","tags":["javascript","openapi","swagger","openapi generator","validation","zod","hono","itty-router","cloudflare","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install chanfana","imports":["import { fromHono } from 'chanfana'","import { OpenAPIRoute } from 'chanfana'","import { OpenAPIClient } from 'chanfana'"]},{"cmd":"yarn add chanfana","imports":[]},{"cmd":"pnpm add chanfana","imports":[]}],"homepage":"https://chanfana.pages.dev","github":"https://github.com/cloudflare/chanfana","docs":null,"changelog":null,"pypi":null,"npm":"chanfana","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}