Changelog
Copy Markdown0.1.0-rc.1 (2026-11-13)
- One tool per operation of an HTTP API, from its description.
- Reads OpenAPI 3.0 and 3.1, in JSON or YAML, as
{WardrikRest.OpenAPI, url: url},path:ordocument:, with JSON and form-encoded bodies. Reads Google Discovery documents as{WardrikRest.Discovery, url: url}ordocument:. Other formats are a module with theWardrikRest.Readerbehaviour. - Credentials from
WardrikCore.Credentials(a person's sign-in) orWardrikCore.Keys, sent only to the configured base URL. A refused token is refreshed once; a missing sign-in waits for it. only,read_onlyandidempotentby name or glob. A glob leaves out operations whose tool names would be over 64 characters.schemes: schemes a description doesn't name, sent on every operation before its own.- Answers over
max_result_bytes(128 KB unless set) are cut, with a note to ask for less. WardrikRest.API.schema/0, to check options before loading.- A tool's schema is fitted into
max_schema_bytes(16 KB unless set): types deeper than fit are named instead, by type or by their path from the tool, and<api>__describegives their fields. Where even that is too long, arguments keep their descriptions' first sentence. Specs keep their schemas as namedtypes; Google's long type names are shortened, and itsUNSPECIFIEDandUNKNOWNenum values left out. argument_headers: headers each tool takes as optional arguments, such as Google Ads'login-customer-id.