Check a spec
See what Rapi Mock makes of your OpenAPI spec: the resources it finds, the data it would start with, which operations keep state, and what the spec could say more clearly.
This runs in your browser. Your spec is not sent to us or to anyone else; it is kept in this browser so a reload finds it again, until you choose another. A spec you load from an address is fetched by your browser from that address, and from nowhere else.
or paste a spec
- One file: a
$refto another file is not followed here. -
An address works when its server lets other sites read it (CORS), as
raw.githubusercontent.comdoes. Link straight to a check with?url=and the address:spec-check/index.html?url=https://…/openapi.yaml. -
This shows what the mock would hold. To call the mocked API, run it yourself:
npx rapidoc mock your-spec.yaml --stateful.