Scalar enables easy creation and maintenance of API documentation. Scalar renders documentation by referencing a live OpenAPI document, making it compatible with Speakeasy’s Automated Code Samples feature.
docs.myapi.com
Prerequisites
To integrate Scalar with Speakeasy, you’ll need the following:
Get the API’s combined spec public URL from the registry
Navigate to the Speakeasy Dashboard and open the API Registry overview. Select the relevant API and open the entry labeled with type Combined Spec. This is typically at the bottom under “Related Documents”.
app.speakeasy.com
NOTE: If the entry is not labeled Combined Spec, ensure that the API
has an automatic code sample
URL configured.
From the registry entry’s page, copy the provided public URL using the “Share” button on the top right.
app.speakeasy.com
Import the combined spec URL into Scalar
Open a Scalar project , go to the Reference tab, and click Import URL.
docs.scalar.com
Paste the combined spec URL copied from Speakeasy into the provided field, optionally check Create Link, then click Import.
docs.scalar.com
When the import is complete, the API documentation will be rendered.