Skip to content

OpenAPI Export

Turns a session’s captured requests/responses into an OpenAPI (Swagger) spec — grouping by path and method, and inferring request/response schemas from the bodies you actually captured.

Export

File → Export Traffic… (⇧⌘E) → OpenAPI. Best results come from a session with several requests per endpoint (different query params, a couple of error responses) — the exporter has more real examples to infer schema shape from.

Good for

  • Bootstrapping documentation for an API that has none
  • Reverse-engineering a third-party or internal API’s shape before integrating with it
  • Feeding into codegen tools that consume OpenAPI specs (client SDKs, mock servers)

Limits

This is inference from observed traffic, not a hand-authored spec — review the generated schema before treating it as a source of truth, especially for fields that happened to be null or absent in every captured example.