Expand description
Vendored copy of the IBKR Client Portal Web API OpenAPI specification.
Interactive Brokers publishes the spec at
https://api.ibkr.com/gw/api/v3/api-docs as OpenAPI 3.0. Bezant
vendors a pinned copy so downstream crates always build from a known
version. For Rust codegen via the bezant-api crate we upgrade
the spec to 3.1 (see SPEC_JSON_3_1) — the 3.0 source is
preserved via SPEC_JSON so consumers running their own generator
can pick whichever major they need.
Refresh the vendored copy with scripts/refresh-spec.sh, then run
scripts/codegen.sh to regenerate the 3.1 derivative and the Rust client.
Constants§
- SPEC_
JSON - The pinned IBKR OpenAPI 3.0 spec as a UTF-8 string — verbatim from upstream.
- SPEC_
JSON_ 3_ 1 - The normalised + 3.1-upgraded spec as a UTF-8 string. Produced by
scripts/codegen.shand checked in alongside the 3.0 source so consumers don’t need Python to reproduce our generator input. - UPSTREAM_
VERSION - IBKR-reported spec version embedded in the vendored spec’s
info.versionfield. Updated byscripts/refresh-spec.sh.