Share OpenAPI docs as a link with Redoc or Swagger UI
An OpenAPI file is hard to read raw. Build it into one HTML page with Redoc or Swagger UI, upload the page, and send a link a partner or teammate can open in any browser.
You have an openapi.yaml and someone outside the repo needs to read it: a partner integrating with your API, a client signing off on endpoints, a teammate who does not run the dev server. Sending the YAML means they need a viewer. Sending a screenshot loses the schemas. A hosted HTML page opens in any browser with every endpoint, parameter and example.
Build a single page with Redocly CLI
- ✓Run npx @redocly/cli build-docs openapi.yaml. It writes redoc-static.html with your API description built in.
- ✓Pass --output api.html to choose the file name.
- ✓Open the file locally once to check it renders before you upload it.
Or a single page with Swagger UI
Swagger UI’s “Try it out” button sends real requests from the reader’s browser to your API. Those requests only succeed if your API allows cross-origin calls from the page’s address and the reader has valid credentials. If you only want people to read the docs, Redoc has no request console.
- ✓Write one index.html that loads swagger-ui.css and swagger-ui-bundle.js from the swagger-ui-dist package on a CDN.
- ✓Call SwaggerUIBundle with dom_id set to the element that holds the docs.
- ✓Pass the API description inline with the spec option instead of url, so the page does not depend on a second file.
Upload it and send the link
Drag the .html file onto the FileShare Pro dashboard and copy the link. The page is served as a web page, so it looks the same as when you open it locally. Readers need no account and nothing to install.
Shared pages carry a noindex tag, so docs for an unreleased or private API do not show up in search results. On Pro you can add a password: password-protecting an HTML page. The view count shows whether the person you sent it to has opened it: knowing if someone opened your link.
Collect review comments on the docs
Turn on comments and readers can leave a note on the page after typing a name: a field that should be required, an error code that is missing, an example that does not match the schema. The notes stay with the page instead of in a long email thread: letting people comment on a web page.
Update the docs without a new link
When the API changes, rebuild the page and upload the new file over the old one. The link stays the same and the previous version is kept in history: updating a shared link without changing it.
If the docs are built in a script or CI job, the FileShare Pro CLI can swap the file in place with fsp replace, keeping the same link: the developer docs.
Frequently asked
Build the API description into one HTML file with Redocly CLI (build-docs) or a Swagger UI page with the spec inline, upload the file, and send the link.
Shared pages are not indexed by search engines. On Pro you can also put a password on the link.
The request goes from the reader’s browser to your API. Your API has to allow cross-origin requests from the page’s address, and the reader needs valid credentials.
No. Upload the rebuilt file over the old one and the link stays the same. Earlier versions are kept in history.
Yes. The free plan hosts up to 50 files of up to 100 MB each, with view counts and comments included. Password-protected links are on Pro.
Drop the file, copy the link — live in seconds, free plan included.
Start sharing free