Library
Mintlify answers/4 minutes read

Does Mintlify generate SDKs?

Published November 21, 2026
HC

Harkirat Chahal

Growth

Share this article


Does Mintlify generate SDKs?
SUMMARY

No. Mintlify does not generate SDK client libraries, so you still need a separate SDK generator or a hand-written SDK. From an OpenAPI 3.0, 3.1 or 3.2 specification, Mintlify generates API reference pages, an interactive API playground and request code examples in up to 18 languages, and it builds SDK reference pages from the output of six documentation tools.

No. Mintlify does not generate SDK client libraries, so you still need a separate SDK generator or a hand-written SDK. From an OpenAPI 3.0, 3.1 or 3.2 specification, Mintlify generates API reference pages, an interactive API playground and request code examples in up to 18 languages, and it builds SDK reference pages from the output of six documentation tools.

What Mintlify generates from an API specification

Mintlify generates API documentation from the specification you already maintain. Each endpoint gets a page that lists its parameters, shows request and response examples, and includes a playground where readers send real requests. When your specification changes, the pages update.

Your API is described byMintlify generates
An OpenAPI specificationREST endpoint and webhook pages with the playground
An AsyncAPI specificationWebSocket channel pages with a playground
A GraphQL schemaQuery, mutation and type pages
TypeDoc, DocFX, Javadoc, Sphinx, phpDocumentor or Go outputClass, module and function pages for your SDK libraries
Nothing, or a few endpointsEndpoint pages you write in MDX

You can combine approaches, such as an OpenAPI reference for your REST API and an SDK reference for your client libraries. OpenAPI setup accepts JSON or YAML documents, and a Swagger 2.0 document needs converting first. Does Mintlify support OpenAPI, Swagger 2.0 and AsyncAPI? covers spec versions and the playground.

Generated code examples and SDK samples

Every endpoint page shows request code examples next to the playground. By default, Mintlify generates them from your OpenAPI specification in the languages you list under api.examples.languages in docs.json. Mintlify supports 18 languages, including cURL, Python, JavaScript, Go, Java, Ruby, C#, TypeScript, Kotlin, Rust and Swift.

If your users call your API through an SDK or a CLI, there are two ways to show those calls on the same endpoint pages.

  1. Add the x-codeSamples extension to any operation in your specification. Each sample has a lang, an optional label and the source code, so the output of any SDK generator or a hand-written SDK can be shown.
  2. If you generate your SDKs with Speakeasy, add its combined spec URL as the openapi value in your docs.json navigation. Speakeasy's autogenerated snippets then appear in the playground, in the languages that match the SDK targets in your Speakeasy project.

To show only the examples you write, set api.examples.autogenerate to false.

SDK reference pages for an existing SDK

Mintlify generates SDK reference pages from the documentation tools you already run. It reads each tool's build artifact and creates a page for every class, interface, module and function, with navigation groups, cross-page links and search indexing.

formatToolLanguage
typedocTypeDocTypeScript and JavaScript
docfxDocFX.NET
javadocJavadocJava
sphinxSphinxPython
phpdocphpDocumentorPHP
gomintlify-go-extractorGo

Setup is one property. Add sdk to a tab or group in docs.json with the format, a source path or HTTPS URL to the artifact, and an optional directory for the URL prefix. To add your own examples above one symbol, write an MDX page with sdk frontmatter and Mintlify appends the generated reference below your content.

Regenerate the artifact whenever your SDK changes so the reference pages match the release.

Plans and limits

The API playground and generated API reference are included on Free, Pro and Enterprise. No Mintlify plan generates SDK client libraries.

For the writing side of SDK docs, see our SDK documentation guide, and for background on the playground, what is an API playground.

Frequently Asked Questions

Does Mintlify generate SDKs from an OpenAPI spec?

No. Mintlify generates API reference pages, a playground and request code examples from an OpenAPI spec. Creating client libraries requires a separate SDK generator or a hand-written SDK.

Which SDK generators work with Mintlify?

Mintlify has a Speakeasy setup that pulls autogenerated SDK snippets into the API reference through a combined spec URL. Samples from any other generator can be added to Mintlify with the x-codeSamples OpenAPI extension.

Can Mintlify document an SDK we already have?

Yes. Mintlify builds SDK reference pages from TypeDoc, DocFX, Javadoc, Sphinx, phpDocumentor or Go artifacts through the sdk navigation property.

Do Mintlify API reference pages update when the spec changes?

Yes. Mintlify generates reference pages from your specification, and when the specification changes, the pages update.

Is the Mintlify API playground on the Free plan?

Yes. The Mintlify API playground is included on Free, Pro and Enterprise.

Where to start

Start with Document your API to pick an approach, then Code examples for SDK samples and SDK reference setup for library reference pages. Start for free and add your OpenAPI file to see the generated reference.

More to read

Can Mintlify be self-hosted or run air-gapped?
Mintlify answers

Can Mintlify be self-hosted or run air-gapped?

Yes. Mintlify self-hosting is an Enterprise option on AWS or any Kubernetes platform, with static export bundles for air-gapped networks.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify support SSO, and is it SAML or OIDC?
Mintlify answers

Does Mintlify support SSO, and is it SAML or OIDC?

Yes, on Enterprise. Mintlify dashboard SSO uses SAML on cloud, with SCIM. Readers of private docs sign in through OAuth 2.0 (OIDC providers work) or JWT.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify handle versioning, reusable content and PDF export?
Mintlify answers

Can Mintlify handle versioning, reusable content and PDF export?

Yes. Mintlify has versioned navigation, reusable snippets with variables and 44 languages built in. PDF export of a full site is an Enterprise feature.

November 21, 2026
HC

Harkirat Chahal

Growth

Can non-technical writers edit Mintlify docs without GitHub?
Mintlify answers

Can non-technical writers edit Mintlify docs without GitHub?

Yes. Mintlify's web editor is on every plan, including Free. Writers edit in visual mode and click Publish, and the editor handles the Git commit for them.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify import docs from MadCap Flare, DITA or Word?
Mintlify answers

Can Mintlify import docs from MadCap Flare, DITA or Word?

DITA has a documented path through mint migrate --from dita. Flare and Word have no dedicated importer, so you convert exports to Markdown or MDX.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify have an AI assistant?
Mintlify answers

Does Mintlify have an AI assistant?

Yes. Mintlify's AI assistant is on Pro and Enterprise, answers from your published docs, and costs 25 credits per answer. Embed it with the assistant API.

November 21, 2026
HC

Harkirat Chahal

Growth