api.leash.market/openapi.json.
Mintlify renders the spec into the navigation tree on the left.
Generated SDKs
The same spec drives client generation. First-party polyglot clients are on the roadmap, not yet shipped — planned targets are TypeScript (@leash/api-client), Python (pip install leash-api,
httpx-based async-first), Go, Rust, and Java.
Until those land, any standard OpenAPI 3.1 generator on the spec
above works. We test against openapi-generator-cli and oapi-codegen:
Local export
Versioning
The path prefix is/v1. Breaking changes get a new /vN prefix;
the OpenAPI spec at /openapi.json always reflects the latest
stable version. Past versions live at /openapi.v1.json,
/openapi.v2.json, etc.
