Skip to content

Document markdown.schema config for AI markdown export#5577

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/markdown-schema-config-1777413027
Closed

Document markdown.schema config for AI markdown export#5577
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/markdown-schema-config-1777413027

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 28, 2026

Summary

A recent platform change makes it configurable whether the full OpenAPI/AsyncAPI specification is included in the per-page Markdown served to AI agents on API reference pages. The behavior is controlled by a new markdown.schema field in docs.json (defaults to true). When set to false, API reference Markdown exports omit the inline specification and instead link to the site's llms.txt index.

Changes

  • Added an "API specification inclusion" section to ai/markdown-export.mdx explaining what the option does, when to use it, and a docs.json example.

Translations were intentionally not updated; they are handled separately.


Note

Low Risk
Documentation-only change that explains a new config flag; no runtime or security-impacting code paths are modified.

Overview
Adds an API specification inclusion section to ai/markdown-export.mdx describing the default behavior of inlining OpenAPI/AsyncAPI endpoint specs in Markdown exports and how to disable it via markdown.schema: false in docs.json (falling back to linking llms.txt).

Reviewed by Cursor Bugbot for commit 1fa6595. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify-development
Copy link
Copy Markdown
Contributor

mintlify-development Bot commented Apr 28, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟢 Ready View Preview Apr 28, 2026, 9:55 PM

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 28, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 28, 2026, 9:54 PM

@ethanpalm
Copy link
Copy Markdown
Collaborator

Closing as duplicate of #5575. Both PRs document the same markdown.schema config option; #5575 is more comprehensive (covers both ai/markdown-export.mdx and organize/settings-reference.mdx).

@ethanpalm ethanpalm closed this Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants