Platform engineering

Multi-language SDK generator

A contract-first toolchain (in Rust) that reads the platform's OpenAPI specs and realtime manifest, builds an intermediate representation, and emits a typed, resource-object SDK for TypeScript, Python and Rust at once - plus a reference of the object graph.

Stack

  • Rust
  • OpenAPI
  • TypeScript
  • Python
  • SDKs

Architecture notes

  1. 01

    parser → IR → emitters: one source of truth, three idiomatic client libraries

  2. 02

    Fully automated pipeline (cargo xtask): snapshot, regenerate, publish to per-language repos - idempotent and offline

  3. 03

    Five auth methods (device flow, PATs, OAuth2 + PKCE, service tokens, cookie login) and a Nuxt transport with SSR cookies, CSRF and refresh-on-401