A single static HTML page for viewing any OpenAPI document with Scalar. Drop in a URL, upload a JSON/YAML spec, or paste raw spec text - Scalar renders the API reference in the browser.
State is stored in the query string, so a configured viewer can be shared as a link.
Sibling project to online-ics-feed-viewer.
- Swagger Petstore (OpenAPI 3)
- Swagger Petstore (OpenAPI 2 / Swagger)
- Scalar Galaxy demo - the spec Scalar uses in their own docs
url- remote OpenAPI document URLfile- base64-encoded local spec contents (only used for small files; larger specs are rendered locally but not encoded into the share URL)cors-true/false, route the URL through a public CORS proxy without trying a direct fetch first
When the CORS proxy is used (either explicitly via the checkbox / cors=true, or automatically as a fallback when a direct fetch is blocked), the spec URL is sent through api.allorigins.win — a third-party service. Don't enable the proxy for URLs you don't want exposed to it.
MIT.
