Skip to the content
HomeDocsConformanceGitHubInstall
Start
  • Getting started
  • The SDK
Proof
  • Conformance
  • Speed
    • Home
    • Docs
    • Start
    • Proof

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.

  • ConformanceHow flowapi is held to the specifications: the official JSON Schema Test Suite through the TypeScript compiler, random schemas and the OAI's examples.
  • SpeedHow long flowapi takes on real API descriptions, and how much memory it uses, beside openapi-typescript and @hey-api/openapi-ts.

Localix Labflowapi is MIT-licensed and open source.

DocsGitHubnpmChangelog