Shape/

OpenAPI to Samples

No network payload
OpenAPI document⌘1700 B · JSON
ResultReady

Your result will appear here

Run the current tool with . The payload stays inside the local worker.

Payload not persisted700 BUTF-8json-buf
Shape · PROCESSED LOCALLY

What OpenAPI to Samples does

Generate an example payload for every request body and response an OpenAPI document declares, resolving local references.

Also searched as openapi sample, swagger example, mock from spec, api examples, generate payload, spec to json, oas sample.

01

Walk every path and operation

02

Resolve local component references

03

Prefer a declared example over a generated one

Local references only

A reference to another file or a URL cannot be resolved without fetching it, which this tool will not do. Those operations are reported rather than filled with a guess.

QUESTIONS, ANSWERED

OpenAPI to Samples FAQ

Does jsontools.me upload my JSON?

No. The document is parsed and processed by json-buf inside a dedicated WebAssembly worker on your device.

Does it work offline?

Yes. After the application shell and engine have loaded once, the installable PWA keeps the tools available without a network connection.