x402
JSON to TypeScript (x402)
Convert JSON to TypeScript interfaces. Handles nested objects, arrays, optional fields. Detects date strings and UUIDs. Algorithmic.
get/x402/v2/json-to-typescript
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/json-to-typescript
- Auth: none required
Query parameters
jsonunknown required
exportboolean
root_namestring
Response
Success
Example response
{
"root_type": "Root",
"typescript": "export interface Root {\n name: string;\n age: number;\n}",
"interface_count": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.