Automate SDK example snippets in your API playground
Set up OpenAPI decoration in Stainless.
stainless.yml
config file, add openapi.code_samples: 'mintlify'
. See the Stainless documentation for more information.Publish the URL to your OpenAPI spec.
Add your OpenAPI spec URL to your `docs.json`.
docs.json
file, add the URL from Stainless to the openapi
field. See OpenAPI Setup for more information.