Files
mintlify[bot] f8e015ff62 Improve SEO descriptions across 177 pages (#4993)
* Improve SEO metadata: update descriptions to 130-155 chars across 177 pages

Generated-By: mintlify-agent

* Apply suggestion from @ethanpalm

* Apply suggestions from code review

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* 💅

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2026-03-31 16:12:58 -07:00

33 lines
1.3 KiB
Plaintext

---
title: "Stainless"
description: "Display autogenerated SDK code samples from Stainless in your API playground with type-safe examples across Python, TypeScript, and other SDKs."
keywords: ["Stainless SDK", "SDK generation", "API client libraries", "type-safe SDKs"]
---
## Prerequisites
* Have a [Stainless](https://app.stainless.com) account.
## Set up the integration
<Steps>
<Step title="Set up OpenAPI decoration in Stainless.">
In your `stainless.yml` config file, add `openapi.code_samples: 'mintlify'`. See the [Stainless documentation](https://app.stainless.com/docs/guides/integrate-docs) for more information.
</Step>
<Step title="Publish the URL to your OpenAPI spec.">
In your Stainless project:
1. Select the **Release** tab.
2. Select **Setup OpenAPI publishing**.
3. Copy the URL to your publicly accessible OpenAPI spec.
<img
src="/images/stainless-public-OpenAPI-spec.png"
alt="Stainless release page with the OpenAPI spec URL highlighted with a green box."
/>
</Step>
<Step title={<>Add your OpenAPI spec URL to your <code>docs.json</code>.</>}>
In your `docs.json` file, add the URL from Stainless to the `openapi` field. See [OpenAPI Setup](/api-playground/openapi-setup) for more information.
</Step>
</Steps>