Skip to main content
>_devtools

OpenAPI to TypeScript

Generate component schema and operation request/response types with required, nullable, parameter-location, status, and media distinctions.

How to use it

Generate component schema and operation request/response types with required, nullable, parameter-location, status, and media distinctions. Paste an OpenAPI document, set the root type name, and generate component and operation models.

Example

Input schema: Pet { id: string; name: string }
Output: interface Pet { id: string; name: string }

Limits and behavior

  • Unsupported schema features appear in coverage notes.
  • Generator input is limited to 1,000,000 characters and output to 10 MiB.