capnwasm OpenAPI conversion

Paste OpenAPI JSON. The browser converts it to capnwasm's manifest IR, emits canonical .capnp, and emits canonical OpenAPI again.

Not production-ready yet. This converter demonstrates the contract pipeline. The runtime itself is still 0.0.x and needs production hardening around large data, hostile inputs, allocator lifecycle, and secure memory hygiene.

Live converter

OpenAPI ↔ Cap'n Proto bridge. For pure OpenAPI → typed JS client work, mature generators (openapi-typescript, kiota, openapi-generator) cover more edge cases. This page's niche is the rare OpenAPI ↔ .capnp pairing, and it runs the same parser/emitter modules as the CLI: parseOpenApi, buildManifest, buildCapnp, buildOpenApiJson.

Direction: Ready.
Same in your terminal

Input

Manifest summary

Run conversion.

Result

Round-trip back to OpenAPI

Sanity check: input → manifest → canonical OpenAPI. Should match your input.

Pros / cons

pathgood fortradeoff
OpenAPI / JSONpublic REST docs, partner APIs, DevTools-friendly debugginglowest adoption cost
Cap'n Protobinary payloads, sparse reads, cross-language RPC, explicit schema evolutionrequires schema/runtime discipline
Manifest pipelinekeeping OpenAPI, capnp, tests, probes, codecs, and tools in syncextra contract step up front