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.
Walk every path and operation
Resolve local component references
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.
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.