Documentation
flowapi docs
How to make TypeScript or Rust types from an OpenAPI or JSON Schema description with flowapi, how they are checked against the specification, and how fast it is.
Start
From the install to a file of types, and the request and response functions.
- Getting startedRun flowapi on an OpenAPI or JSON Schema description and get one TypeScript file of types, from npm or from the Rust command.
- The SDKWith --sdk, flowapi prints two functions per operation after the types: one writes the request and sends nothing, the other reads the answer you got back.
Proof
How the types are held to the specification, and what the benchmark measured.