heyapi-openapi-ts
Installation
SKILL.md
Hey API OpenAPI to TypeScript
Use when the task mentions Hey API, heyapi.dev, @hey-api/openapi-ts, or converting an OpenAPI spec into TypeScript types, SDKs, or validators.
Default workflow
- Confirm the source spec location: local file, URL, or hosted registry reference.
- Start with the smallest working generation path:
npx @hey-api/openapi-ts -i openapi.yaml -o src/client
- If the project will keep generated code in source control or regenerate often, install the package and move to a config file.
- Regenerate instead of hand-editing generated files.