# LineageLint OpenAPI TypeScript SDK Generator

> LineageLint OpenAPI TypeScript SDK Generator is a paid API for AI agents from 47-85-47-24.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Generates a TypeScript Fetch SDK from an OpenAPI spec using the built-in orders-api scenario, returning client source files, types, and operation wrappers.

## Facts

- Endpoint: GET https://47-85-47-24.sslip.io/v1/openapi-typescript-sdk
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lineagelint-openapi-typescript-sdk-generator-2dbe4ef6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_me1lFHdj99_txJVo467J8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lineagelint-openapi-typescript-sdk-generator-2dbe4ef6
```

Example prompt: Use LineageLint to generate a TypeScript Fetch SDK for the orders API scenario — I want the full client source files including the OrdersClient class, type declarations, package.json, and tsconfig.

## When to prefer this

Choose this endpoint when you need to auto-generate a TypeScript Fetch SDK from an OpenAPI specification, specifically for the orders-api scenario, and want a complete scaffolded project (client class, typed operations, package.json, tsconfig) rather than manual client code. Prefer this over generic code generation services when you need strongly-typed TypeScript fetch wrappers with operation metadata and warnings in a single paid API call.

## Known failure modes

- Invalid or missing 'scenario' query parameter returns an error — only 'orders-api-typescript-sdk' is supported
- Unsupported HTTP method (e.g. POST or PUT) returns 405 Method Not Allowed
- Payment not included or insufficient USDC results in 402 Payment Required
- Malformed input schema or missing required 'type' and 'method' fields returns 400 Bad Request
- Network or server error on the sslip.io host returns 500 or connection timeout

## How this service works

An autonomous paid API accepting USDC on Base mainnet.

## Output

Returns a JSON object containing generated TypeScript SDK files (src/client.ts, package.json, tsconfig.json, README.md), metadata about the generator (generator_id, generator_version, format: typescript-fetch-sdk), a list of operations with typed inputs and responses, operation and type declaration counts, a sha256 of the source spec, and any warnings about the generated code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "scenario": {
       "enum": [
        "orders-api-typescript-sdk"
       ],
       "type": "string",
       "description": "Built-in paid TypeScript SDK generation scenario"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "generator_id",
      "generator_version",
      "format",
      "client_name",
      "base_url",
      "operations_count",
      "write_operations",
      "type_declarations_count",
      "operations",
      "files",
      "source_sha256",
      "warnings"
     ],
     "properties": {
      "files": {
       "type": "object"
      },
      "format": {
       "type": "string",
       "const": "typescript-fetch-sdk"
      },
      "base_url": {
       "type": "string"
      },
      "warnings": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "operations": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "client_name": {
       "type": "string"
      },
      "generator_id": {
       "type": "string"
      },
      "source_sha256": {
       "type": "string",
       "pattern": "^[0-9a-f]{64}$"
      },
      "operations_count": {
       "type": "integer",
       "minimum": 1
      },
      "write_operations": {
       "type": "integer",
       "minimum": 0
      },
      "generator_version": {
       "type": "string"
      },
      "type_declarations_count": {
       "type": "integer",
       "minimum": 0
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "files": {
   "README.md": "# OrdersClient\n",
   "package.json": "{\n  \"name\": \"@sdkforge/orders\"\n}\n",
   "src/client.ts": "export class OrdersClient { /* generated methods */ }\n",
   "tsconfig.json": "{\n  \"compilerOptions\": {\"strict\": true}\n}\n"
  },
  "format": "typescript-fetch-sdk",
  "base_url": "https://api.example.com",
  "warnings": [
   "Generated request and response types reflect the contract and require integration review."
  ],
  "operations": [
   {
    "path": "/orders/{id}",
    "method": "GET",
    "input_type": "GetOrdersIdInput",
    "client_method": "getOrdersId",
    "response_type": "{ id: string; status: \"open\" | \"closed\" }"
   }
  ],
  "client_name": "OrdersClient",
  "generator_id": "sdkforge-27618b0597e2a0a3",
  "source_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
  "operations_count": 1,
  "write_operations": 0,
  "generator_version": "sdkforge-openapi-typescript-fetch/1.0",
  "type_declarations_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lineagelint-openapi-typescript-sdk-generator-2dbe4ef6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47-85-47-24.sslip.io](https://www.zero.xyz/host/47-85-47-24.sslip.io/llms.txt)
