LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

generating-typescript-types-from-apis - Generate TypeScript types from API responses and OpenAPI.

Generates TypeScript interfaces, response wrappers, and branded types from JSON responses, OpenAPI specifications, or live endpoints.

Tags

Updated: 2026-09-23

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Parse JSON responses and OpenAPI specs
  • Infer TypeScript types from data structures
  • Generate TypeScript interfaces and branded types
  • Create reusable API response wrappers
  • Automate type synchronization with CI workflows

Inputs

  • JSON response payload
  • OpenAPI or Swagger specification
  • Live API endpoint URL

Outputs

  • TypeScript type definition files
  • Type-safe API client code
  • CI workflow configuration file

Requirements

  • Node.js runtime environment
  • TypeScript compiler
  • openapi-typescript package
  • openapi-fetch package

Source

  • Spec: SKILL.md
typescript
api
openapi
type-generation
json-to-typescript
Parse JSON responses and OpenAPI specs
Infer TypeScript types from data structures
Generate TypeScript interfaces and branded types
Create reusable API response wrappers
JSON response payload
OpenAPI or Swagger specification
Live API endpoint URL
TypeScript type definition files
Type-safe API client code
CI workflow configuration file