cloudflare/chanfana
OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
https://skillcdn.ai/gh/cloudflare/chanfanaConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
bff091f - License
MIT - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Folders
Documents
- Defining EndpointsThe OpenAPIRoute class is the cornerstone of building APIs with Chanfana. It provides a structured and type-safe way to define your API endpoints, including their schemas and logic. This guide will d…docs/endpoints/defining-endpoints.md
- Parameters: Defining Input Types with ZodChanfana uses native Zod schemas to define the inputs of your API endpoints, ensuring data validation and clear OpenAPI documentation. This guide covers how to use Zod effectively for request body fi…docs/endpoints/parameters.md
- Request ValidationChanfana's automatic request validation is a key feature that ensures your API receives and processes only valid data. This section dives deep into how request validation works for different parts of…docs/endpoints/request-validation.md
- Response DefinitionsDefining clear and comprehensive response definitions is as important as request validation for building well-documented and predictable APIs. Chanfana makes it easy to define your API responses with…docs/endpoints/response-definition.md
Skipped (2)
These manifests were not served. Fix them and push: the next commit is indexed again.
docs/introduction.mdimage_missingan image names no file of the repository (/assets/logo.png)docs/migration-to-chanfana-3.mdlink_missinga link names no file of the repository (/troubleshooting-and-faq)