# chanfana

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more\!

Canonical page: https://www.reposhelf.co.uk/projects/github/cloudflare/chanfana.html

- Project ID: cloudflare/chanfana
- Source: GitHub
- Original project: https://github.com/cloudflare/chanfana
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-03T12:10:53.248Z
- Demo page loaded: 2026-11-06T00:36:04.042Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> chanfana \(previously known as itty-router-openapi\) is a library that adds OpenAPI schema generation and validation to any router \( Hono, itty-router, etc\), meant to be a powerful and lightweight library for Cloudflare Workers but runs on any runtime supported by the base router.

- OpenAPI 3 and 3.1 schema generator and validator
- Zod v4 compatible with full TypeScript inference
- Fully written in typescript
- Class-based endpoints
- Query, Path, Headers, and Body typescript inference, see Parameters and Request Validation

## Author-documented requirements and audience

> chanfana \(previously known as itty-router-openapi\) is a library that adds OpenAPI schema generation and validation to any router \( Hono, itty-router, etc\), meant to be a powerful and lightweight library for Cloudflare Workers but runs on any runtime supported by the base router.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/cloudflare/chanfana/blob/main/README.md

Extraction checked: 2026-11-03T12:10:53.389Z

Last recorded source update: 2026-11-02T08:20:59.000Z

Saved release: v3.4.0 — 2026-08-17T13:29:28.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=cloudflare%2Fchanfana). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
