Autogenerated code snippets from Speakeasy SDKs can be integrated directly into Mintlify API reference documentation. SDK usage snippets are shown in the interactive playground of Mintlify-powered documentation sites.
docs.myapi.com
Prerequisites
To integrate Mintlify with Speakeasy, you’ll need the following:
If you’re using the legacy mint.json configuration file, upgrade to docs.json using the Mintlify CLI:
mint upgrade
This command creates a docs.json file from your existing mint.json. After verifying the configuration, delete the old mint.json file.
Speakeasy-generated code snippets can now be viewed in the Mintlify API reference documentation. See the code snippets in action in the interactive playground of the Mintlify-powered documentation site.
Next steps
Mintlify offers flexible customization options for API references generated from OpenAPI documents. For more information, refer to the Mintlify documentation .