code.halowerk.com/v1/openapi-ts-client
Generate a typed TypeScript fetch client from an OpenAPI 3.0/3.1 document: openapi-typescript types plus one typed method per operation, type-checked before delivery. Types come from openapi-typescript 7.13.0 (paths, components, operations).
POST
https://code.halowerk.com/v1/openapi-ts-clientUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://code.halowerk.com/v1/openapi-ts-client", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"spec":{"info":{"title":"Pets","version":"1.0.0"},"openapi":"3.0.3","paths":{"/pets/{id}":{"get":{"operationId":"getPet","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}}},"description":"The pet"}}}}},"servers":[{"url":"h),
});
console.log(await res.json());Example input
{"spec":{"info":{"title":"Pets","version":"1.0.0"},"openapi":"3.0.3","paths":{"/pets/{id}":{"get":{"operationId":"getPet","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}}},"description":"The pet"}}}}},"servers":[{"url":"h