OpenAPI Schema to TypeScript Types Converter
Convert an OpenAPI 3.x (or Swagger 2.0) document’s component schemas into plain TypeScript interfaces and type aliases. Resolves $refs, turns allOf into intersections and oneOf/anyOf into unions, handles discriminators and nullable fields, and emits a ready-to-download .ts file.
Try OpenAPI Schema to TypeScript Types Converter in your browser →
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.