openapi-to-typescript
CommunityConvert OpenAPI specs to TypeScript types.
Authoralbertms22
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill converts OpenAPI 3.0 specifications into TypeScript interfaces and runtime type guards, enabling strong type safety between API contracts and frontend code.
Core Features & Use Cases
- Generate TypeScript interfaces for all schemas found under components/schemas
- Create request/response types from paths for each API endpoint
- Produce runtime type guards to validate API data at runtime
- Handle complex OpenAPI constructs like oneOf, allOf, enums and refs
- Default output to types/api.ts with optional custom path
Quick Start
Provide your OpenAPI file path and I will generate TypeScript interfaces and type guards into types/api.ts.
Dependency Matrix
Required Modules
None requiredComponents
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: openapi-to-typescript Download link: https://github.com/albertms22/agent-toolkit/archive/main.zip#openapi-to-typescript Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.