chanfana-openapi

Community

Type-safe REST APIs with auto Swagger docs

AuthorTobbe3108
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables developers to rapidly build type-safe REST APIs by deriving OpenAPI specifications directly from code using Chanfana, Hono, and Cloudflare Workers, eliminating manual YAML.

Core Features & Use Cases

  • Automatic Swagger/OpenAPI generation from TypeScript route handlers with no separate YAML files.
  • Built-in request validation using Zod and automatic error handling.
  • Seamless edge deployment to Cloudflare Workers with composable middleware and security schemes.
  • Use Case: Kick off a new API project and obtain live API docs, type-safe routes, and validation in minutes.

Quick Start

Install npm dependencies, initialize a Cloudflare Workers project, implement a minimal OpenAPIRoute using a simple schema, and run wrangler dev to view Swagger UI.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: chanfana-openapi
Download link: https://github.com/Tobbe3108/GoPayShortcuts/archive/main.zip#chanfana-openapi

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.